站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

JDBCExceptionReporter (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.util
Class JDBCExceptionReporter

java.lang.Object
  extended byorg.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)