|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.util.JDBCExceptionReporter.WarningHandlerLoggingSupport
org.hibernate.util.JDBCExceptionReporter.StandardWarningHandler
public static class JDBCExceptionReporter.StandardWarningHandler
Constructor Summary | |
---|---|
JDBCExceptionReporter.StandardWarningHandler(java.lang.String introMessage)
|
Method Summary | |
---|---|
boolean |
doProcess()
Should processing be done? Allows short-circuiting if not. |
protected void |
logWarning(java.lang.String description,
java.lang.String message)
Delegate to log common details of a warning |
void |
prepare(java.sql.SQLWarning warning)
Prepare for processing of a warning stack. |
Methods inherited from class org.hibernate.util.JDBCExceptionReporter.WarningHandlerLoggingSupport |
---|
handleWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCExceptionReporter.StandardWarningHandler(java.lang.String introMessage)
Method Detail |
---|
public boolean doProcess()
JDBCExceptionReporter.WarningHandler
public void prepare(java.sql.SQLWarning warning)
JDBCExceptionReporter.WarningHandler
warning
stack.
Note that the warning here is also the first passed to JDBCExceptionReporter.WarningHandler.handleWarning(java.sql.SQLWarning)
warning
- The first warning in the stack.protected void logWarning(java.lang.String description, java.lang.String message)
JDBCExceptionReporter.WarningHandlerLoggingSupport
warning
logWarning
in class JDBCExceptionReporter.WarningHandlerLoggingSupport
description
- A description of the warningmessage
- The warning message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |