Package org.hibernate.engine.jdbc.spi
Class SqlExceptionHelper.WarningHandlerLoggingSupport
- java.lang.Object
-
- 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 forSqlExceptionHelper.WarningHandler
implementations which handle warnings
-
-
Constructor Summary
Constructors Constructor Description WarningHandlerLoggingSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
handleWarning(SQLWarning warning)
Handle an individual warning in the stack.protected abstract void
logWarning(String description, String message)
Delegate to log common details of a warning-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.engine.jdbc.spi.SqlExceptionHelper.WarningHandler
doProcess, prepare
-
-
-
-
Method Detail
-
handleWarning
public final void handleWarning(SQLWarning warning)
Description copied from interface:SqlExceptionHelper.WarningHandler
Handle an individual warning in the stack.- Specified by:
handleWarning
in interfaceSqlExceptionHelper.WarningHandler
- Parameters:
warning
- The warning to handle.
-
-