public static abstract class

JDBCExceptionReporter.WarningHandlerLoggingSupport

extends Object
implements JDBCExceptionReporter.WarningHandler
java.lang.Object
   ↳ org.hibernate.util.JDBCExceptionReporter.WarningHandlerLoggingSupport
Known Direct Subclasses

Class Overview

Basic support for JDBCExceptionReporter.WarningHandler implementations which log

Summary

Public Constructors
JDBCExceptionReporter.WarningHandlerLoggingSupport()
Public Methods
final void handleWarning(SQLWarning warning)
Handle an individual warning in the stack.
Protected Methods
abstract void logWarning(String description, String message)
Delegate to log common details of a warning
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.util.JDBCExceptionReporter.WarningHandler

Public Constructors

public JDBCExceptionReporter.WarningHandlerLoggingSupport ()

Public Methods

public final void handleWarning (SQLWarning warning)

Handle an individual warning in the stack.

Parameters
warning The warning to handle.

Protected Methods

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