Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » exception » [javadoc | source]
org.hibernate.exception
public final class: JDBCExceptionHelper [javadoc | source]
java.lang.Object
   org.hibernate.exception.JDBCExceptionHelper
Implementation of JDBCExceptionHelper.
Method from org.hibernate.exception.JDBCExceptionHelper Summary:
convert,   convert,   determineSqlStateClassCode,   extractErrorCode,   extractSqlState,   extractSqlStateClassCode
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.exception.JDBCExceptionHelper Detail:
 public static JDBCException convert(SQLExceptionConverter converter,
    SQLException sqlException,
    String message) 
    Converts the given SQLException into Hibernate's JDBCException hierarchy, as well as performing appropriate logging.
 public static JDBCException convert(SQLExceptionConverter converter,
    SQLException sqlException,
    String message,
    String sql) 
    Converts the given SQLException into Hibernate's JDBCException hierarchy, as well as performing appropriate logging.
 public static String determineSqlStateClassCode(String sqlState) 
 public static int extractErrorCode(SQLException sqlException) 
    For the given SQLException, locates the vendor-specific error code.
 public static String extractSqlState(SQLException sqlException) 
    For the given SQLException, locates the X/Open-compliant SQLState.
 public static String extractSqlStateClassCode(SQLException sqlException) 
    For the given SQLException, locates the X/Open-compliant SQLState's class code.