InterviewSolution
Saved Bookmarks
| 1. |
How Can I Get Or Redirect The Log Used By Drivermanager And Jdbc Drivers? |
|
Answer» As of JDBC 2.0, use DriverManager.getLogWriter() and DriverManager.setLogWriter(PrintWriter out). Prior to JDBC 2.0, the DriverManager METHODS getLogStream() and setLogStream(PrintStream out) were USED. These are now DEPRECATED. As of JDBC 2.0, use DriverManager.getLogWriter() and DriverManager.setLogWriter(PrintWriter out). Prior to JDBC 2.0, the DriverManager methods getLogStream() and setLogStream(PrintStream out) were used. These are now deprecated. |
|