はい、あります:https://dba.stackexchange.com/a/44373/5457 /a>
Statement stmt = ...; stmt.execute("some sql statement"); SQLWarning warning = stmt.getWarnings(); while (warning != null) { System.out.println(warning.getMessage()); warning = warning.getNextWarning(); }
プレ>