Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jdbc logging?  RSS feed

Kalpesh Soni
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!