I am trying to debug my Java application that queries an Oracle database.
I have started my application with
-Doracle.jdbc.Trace=true -Djava.util.logging.config.file=c:/tmp/oracledebug.properties
Containing
handlers = java.util.logging.FileHandler
java.util.logging.FileHandler.pattern = c:/tmp/jdbc.log
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
oracle.jdbc.driver.level = CONFIG
However, it outputs the SQL with question marks.
Is it possible to log the values of the bind variables?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…