handling PgSqlException - any way to get the underlying SQL?
Posted: Thu 14 Apr 2005 16:34
hello,
would anyone care to share their favourite PgErrorHandler(PgSqlException e) method?
most importantly, i would expect the method to extract the offending SQL statement and log it without my having to pass it explicitly to the handler. so far i can't find a property/method to do this. surely there must be a way...
thanks!
would anyone care to share their favourite PgErrorHandler(PgSqlException e) method?
most importantly, i would expect the method to extract the offending SQL statement and log it without my having to pass it explicitly to the handler. so far i can't find a property/method to do this. surely there must be a way...
thanks!