org.hibernate.util
Class JDBCExceptionReporter.WarningHandlerLoggingSupport
java.lang.Object
   org.hibernate.util.JDBCExceptionReporter.WarningHandlerLoggingSupport
org.hibernate.util.JDBCExceptionReporter.WarningHandlerLoggingSupport
- All Implemented Interfaces: 
- JDBCExceptionReporter.WarningHandler
- Direct Known Subclasses: 
- JDBCExceptionReporter.StandardWarningHandler
- Enclosing class:
- JDBCExceptionReporter
- public abstract static class JDBCExceptionReporter.WarningHandlerLoggingSupport 
- extends Object- implements JDBCExceptionReporter.WarningHandler
Basic support for JDBCExceptionReporter.WarningHandler implementations which log
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
JDBCExceptionReporter.WarningHandlerLoggingSupport
public JDBCExceptionReporter.WarningHandlerLoggingSupport()
handleWarning
public final void handleWarning(SQLWarning warning)
- Description copied from interface: JDBCExceptionReporter.WarningHandler
- Handle an individual warning in the stack.
 
- 
- Specified by:
- handleWarningin interface- JDBCExceptionReporter.WarningHandler
 
- 
- Parameters:
- warning- The warning to handle.
 
logWarning
protected abstract void logWarning(String description,
                                   String message)
- Delegate to log common details of a warning
 
- 
 
- 
- Parameters:
- description- A description of the warning
- message- The warning message
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.