DEVFYI - Developer Resource - FYI

How can I write to the log used by DriverManager and JDBC drivers?

JDBC Interview Questions and Answers


(Continued from previous question...)

How can I write to the log used by DriverManager and JDBC drivers?

The simplest method is to use DriverManager.println(String message), which will write to the current log.

(Continued on next question...)

Other Interview Questions