java.lang.Object | |
↳ | org.hibernate.util.JDBCExceptionReporter |
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
JDBCExceptionReporter.StandardWarningHandler | |||||||||||
JDBCExceptionReporter.WarningHandler | Contract for handling SQLWarning warnings | ||||||||||
JDBCExceptionReporter.WarningHandlerLoggingSupport | Basic support for JDBCExceptionReporter.WarningHandler implementations which log
|
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | DEFAULT_EXCEPTION_MSG | ||||||||||
String | DEFAULT_WARNING_MSG |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
STANDARD_WARNING_HANDLER | |||||||||||
log |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
General purpose handling of warnings associated with a JDBC Statement.
| |||||||||||
General purpose handling of warnings associated with a JDBC
Connection . | |||||||||||
Standard (legacy) behavior for logging warnings associated with a JDBC
Connection and clearing them. | |||||||||||
This method is deprecated.
Use
walkWarnings(SQLWarning, JDBCExceptionReporter.WarningHandler) instead
| |||||||||||
This method is deprecated.
Use
walkWarnings(SQLWarning, JDBCExceptionReporter.WarningHandler) instead
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
General purpose handling of warnings associated with a JDBC Statement.
statement | The JDBC statement potentially containing warnings |
---|---|
handler | The handler for each individual warning in the stack. |
General purpose handling of warnings associated with a JDBC Connection
.
connection | The JDBC connection potentially containing warnings |
---|---|
handler | The handler for each individual warning in the stack. |
Standard (legacy) behavior for logging warnings associated with a JDBC Connection
and clearing them.
handleAndClearWarnings(Connection, WarningHandler)
using STANDARD_WARNING_HANDLER
connection | The JDBC connection potentially containing warnings |
---|
This method is deprecated.
Use walkWarnings(SQLWarning, JDBCExceptionReporter.WarningHandler)
instead
Log the given warning and all of its nested warnings, preceded with the given message
warning | The warning to log |
---|---|
message | The prologue message |
This method is deprecated.
Use walkWarnings(SQLWarning, JDBCExceptionReporter.WarningHandler)
instead
Log the given warning and all of its nested warnings, preceded with the default message
warning | The warning to log |
---|