Hi Nick You might want to have a look at http://www.p6spy.com/. Basically it allows you to use a proxy in front of the true JDBC connection so that you can log all of the SQL statements that are sent to a JDBC driver. It's free and I believe that it works with pretty much any JDBC driver.
Obviously it is useful for debugging and for test environments but it does add a performance overhead. This tool has proved v useful in a number of my previous projects. Hope it helps Andy -----Original Message----- From: Nick Longinow [mailto:[EMAIL PROTECTED] Sent: 29 November 2004 18:23 To: 'Slide Users Mailing List' Subject: Log SQL statements ? Hi I am finding situations where there is a db error (Oracle) returning SQL errors which show some sort of problem with the requested action. In these cases, its hard to tell what the requested action specifically was, but having the SQL that preceded the error would help. Is there a log setting on the OracleAdapter or its base classes that would send that info to a log ? Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
