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.slf4j.Logger 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.slf4j.Logger 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)


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.