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.WarningHandlerimplementations which handle warnings
-
-
Constructor Summary
Constructors Constructor Description WarningHandlerLoggingSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidhandleWarning(SQLWarning warning)Handle an individual warning in the stack.protected abstract voidlogWarning(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.WarningHandlerHandle an individual warning in the stack.- Specified by:
handleWarningin interfaceSqlExceptionHelper.WarningHandler- Parameters:
warning- The warning to handle.
-
-