org.hibernate.util
Class JDBCExceptionReporter

java.lang.Object
  extended by org.hibernate.util.JDBCExceptionReporter

public final class JDBCExceptionReporter
extends Object


Field Summary
static String DEFAULT_EXCEPTION_MSG
           
static String DEFAULT_WARNING_MSG
           
static org.apache.commons.logging.Log log
           
 
Method Summary
static void logAndClearWarnings(Connection connection)
           
static void logExceptions(SQLException ex)
           
static void logExceptions(SQLException ex, String message)
           
static void logWarnings(SQLWarning warning)
           
static void logWarnings(SQLWarning warning, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.commons.logging.Log log

DEFAULT_EXCEPTION_MSG

public static final String DEFAULT_EXCEPTION_MSG
See Also:
Constant Field Values

DEFAULT_WARNING_MSG

public static final String DEFAULT_WARNING_MSG
See Also:
Constant Field Values
Method Detail

logAndClearWarnings

public static void logAndClearWarnings(Connection connection)

logWarnings

public static void logWarnings(SQLWarning warning)

logWarnings

public static void logWarnings(SQLWarning warning,
                               String message)

logExceptions

public static void logExceptions(SQLException ex)

logExceptions

public static void logExceptions(SQLException ex,
                                 String message)