Show Log
HelloI have a programme for connection to the database already developped. what is the easiest way to add a property to the programme to show all the logs during the connection to the database? I heard about verbose mode.is it the best and easiest way?
You can try to enable the debug mode of your JDBC driver (if supported).
java.io.PrintWriter w =
new java.io.PrintWriter
(new java.io.OutputStreamWriter(System.out));
DriverManager.setLogWriter(w);
--
http://www.rgagnon.com/howto.html