Class BasicSQLExceptionConverter
- java.lang.Object
-
- org.hibernate.engine.jdbc.dialect.spi.BasicSQLExceptionConverter
-
public class BasicSQLExceptionConverter extends java.lang.ObjectA helper to centralize conversion ofSQLExceptions toJDBCExceptions. Used while querying JDBC metadata during bootstrapping
-
-
Field Summary
Fields Modifier and Type Field Description static BasicSQLExceptionConverterINSTANCESingleton accessstatic java.lang.StringMSGMessage
-
Constructor Summary
Constructors Constructor Description BasicSQLExceptionConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JDBCExceptionconvert(java.sql.SQLException sqlException)Perform a conversion.
-
-
-
Field Detail
-
INSTANCE
public static final BasicSQLExceptionConverter INSTANCE
Singleton access
-
MSG
public static final java.lang.String MSG
Message
-
-
Method Detail
-
convert
public JDBCException convert(java.sql.SQLException sqlException)
Perform a conversion.- Parameters:
sqlException- The exception to convert.- Returns:
- The converted exception.
-
-