PDA

View Full Version : Tracing SQL in Java ?


dineshrama
06-18-02, 11:36
Hi,

Does anyone know as to how we can trace SQL statements in Java. DriverManager.setLogWriter(...) doesn't work. Any help would be appreciated.

Thanks,
D

qxz
07-05-02, 05:50
Simply use System.out.print().
It will print to your system log file.