aspose file tools*
The moose likes JDBC and the fly likes jdbc logging? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc logging?" Watch "jdbc logging?" New topic
Author

jdbc logging?

Kalpesh Soni
Ranch Hand

Joined: Jan 02, 2001
Posts: 312
This might be a simple thing but i cannot figure it out
I am using DriverManager.setLogStream/setLogWriter
and getting these kind of logs
==============================
JdbcOdbcDriver class loaded
registerDriver: driver[className=sun.jdbc.odbc.JdbcOdbcDriver,sun.jdbc.odbc.JdbcOdbcDriver@58adc0]
Oracle Jdbc tracing is not avaliable in a non-debug zip/jar file
registerDriver: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@27e343]
DriverManager.getConnection("jdbc racle ci8:@BFE.INDIA.TAVANT.COM")
trying driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@7f3f5d]
==============================

But I am not able to see the actual queries fired
Is there any way I can see all queries ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jdbc logging?