|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.util.SQLWarnings
Utilities for handling SQL Warnings
Constructor Summary | |
SQLWarnings()
|
Method Summary | |
static void |
log(java.sql.Connection conn)
Utility to log all warning for the specified Connection. |
static void |
log(java.sql.ResultSet rs)
Utility to log all warning for the specified ResultSet. |
static void |
log(java.sql.SQLWarning warning)
Logs SQL warnings to the common log. |
static void |
log(java.sql.Statement stmt)
Utility to log all warning for the specified Statement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SQLWarnings()
Method Detail |
public static void log(java.sql.SQLWarning warning)
warning
- the value returned from getWarnings().public static void log(java.sql.Connection conn)
conn
- The connection to the datastorepublic static void log(java.sql.Statement stmt)
stmt
- The statementpublic static void log(java.sql.ResultSet rs)
rs
- The ResultSet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |