org.hibernate.engine.jdbc.spi
Class SqlExceptionHelper.WarningHandlerLoggingSupport
java.lang.Object
   org.hibernate.engine.jdbc.spi.SqlExceptionHelper.WarningHandlerLoggingSupport
org.hibernate.engine.jdbc.spi.SqlExceptionHelper.WarningHandlerLoggingSupport
- All Implemented Interfaces: 
- SqlExceptionHelper.WarningHandler
- Direct Known Subclasses: 
- SqlExceptionHelper.StandardWarningHandler
- Enclosing class:
- SqlExceptionHelper
- public abstract static class SqlExceptionHelper.WarningHandlerLoggingSupport 
- extends Object- implements SqlExceptionHelper.WarningHandler
Basic support for SqlExceptionHelper.WarningHandler implementations which log
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
SqlExceptionHelper.WarningHandlerLoggingSupport
public SqlExceptionHelper.WarningHandlerLoggingSupport()
handleWarning
public final void handleWarning(SQLWarning warning)
- Description copied from interface: SqlExceptionHelper.WarningHandler
- Handle an individual warning in the stack.
 
- 
- Specified by:
- handleWarningin interface- SqlExceptionHelper.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-2012 Red Hat, Inc.  All Rights Reserved.