handling PgSqlException - any way to get the underlying SQL?

handling PgSqlException - any way to get the underlying SQL?

Postby Andrew MacLeod » 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!
Andrew MacLeod
 

Return to dotConnect for PostgreSQL