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