List of utility methods to do SQL Warning
void | printWarnings(Connection conn) Print warnings on a Connection to STDERR. printWarnings(conn, new PrintWriter(System.err));
|
void | printWarnings(SQLWarning warning) print Warnings if (warning != null) { System.out.println("\n---Warning---\n"); while (warning != null) { System.out.println("Message: " + warning.getMessage()); System.out.println("SQLState: " + warning.getSQLState()); System.out.print("Vendor error code: "); System.out.println(warning.getErrorCode()); System.out.println(""); ... |