类 BasicSQLExceptionConverter
- java.lang.Object
-
- org.hibernate.engine.jdbc.dialect.spi.BasicSQLExceptionConverter
-
public class BasicSQLExceptionConverter extends Object
A helper to centralize conversion ofSQLExceptions toJDBCExceptions. Used while querying JDBC metadata during bootstrapping- 作者:
- Steve Ebersole
-
-
字段概要
字段 修饰符和类型 字段 说明 static BasicSQLExceptionConverterINSTANCESingleton accessstatic StringMSGMessage
-
构造器概要
构造器 构造器 说明 BasicSQLExceptionConverter()
-
-
-
字段详细资料
-
INSTANCE
public static final BasicSQLExceptionConverter INSTANCE
Singleton access
-
MSG
public static final String MSG
Message
-
-
方法详细资料
-
convert
public JDBCException convert(SQLException sqlException)
Perform a conversion.- 参数:
sqlException- The exception to convert.- 返回:
- The converted exception.
-
-