java.sql.SQLException s to org.hibernate.JDBCException s.
Used while querying JDBC metadata during bootstrapping
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final SQLStateConverter | CONVERTER
Deprecated
as a consequence of
SQLStateConverter being deprecated.
|
| public static final BasicSQLExceptionConverter | INSTANCE
Singleton access |
| private static final CoreMessageLogger | |
| public static final String | MSG
Message |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JDBCException | Returns: The converted exception.The exception to convert. sqlException)Perform a conversion. |
| CONVERTER | back to summary |
|---|---|
| private static final SQLStateConverter CONVERTER
Deprecated as a consequence of | |
| INSTANCE | back to summary |
|---|---|
| public static final BasicSQLExceptionConverter INSTANCE Singleton access | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| MSG | back to summary |
|---|---|
| public static final String MSG Message | |
| BasicSQLExceptionConverter | back to summary |
|---|---|
| public BasicSQLExceptionConverter() | |
| convert | back to summary |
|---|---|
| public JDBCException convert(SQLException sqlException) Perform a conversion.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | extractConstraintName(SQLException
The exception that was the result of the constraint violation. sqle)Implements org. |
| ConstraintNameExtracter | back to summary |
|---|---|
| private ConstraintNameExtracter() | |
| extractConstraintName | back to summary |
|---|---|
| public String extractConstraintName(SQLException sqle) Implements org. Doc from org. Extract the name of the violated constraint from the given SQLException.
| |