jQuery in Action, 3rd edition
The moose likes JDBC and Relational Databases 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc logging?" Watch "jdbc logging?" New topic

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?
It's not a secret anymore!