java.sql.SQLException s to org.hibernate.JDBCException s.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final SQLStateConverter | |
| public static final BasicSQLExceptionConverter | |
| public static final String |
| 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 | |
| INSTANCE | back to summary |
|---|---|
| public static final BasicSQLExceptionConverter INSTANCE | |
| MSG | back to summary |
|---|---|
| public static final String MSG | |
| 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.
| |