| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final EntityManagerMessageLogger | |
| private final boolean | |
| private final SharedSessionContractImplementor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public RuntimeException | convert(HibernateException
The Hibernate exception. e, LockOptions The lock options in effect at the time of exception (can be null) lockOptions)Implements org. |
| public RuntimeException | convert(HibernateException
The Hibernate exception. e)Implements org. |
| public RuntimeException | |
| public RuntimeException | convert(RuntimeException e, LockOptions lockOptions)
Implements org. |
| public JDBCException | convert(SQLException e, String message)
Implements org. |
| public RuntimeException | convertCommitException(RuntimeException
The exception being handled e)Implements org. |
| private void | |
| protected PersistenceException | |
| protected PersistenceException |
| isJpaBootstrap | back to summary |
|---|---|
| private final boolean isJpaBootstrap | |
| log | back to summary |
|---|---|
| private static final EntityManagerMessageLogger log | |
| nativeExceptionHandling51Compliance | back to summary |
|---|---|
| private final boolean nativeExceptionHandling51Compliance | |
| sharedSessionContract | back to summary |
|---|---|
| private final SharedSessionContractImplementor sharedSessionContract | |
| ExceptionConverterImpl | back to summary |
|---|---|
| public ExceptionConverterImpl(SharedSessionContractImplementor sharedSessionContract) | |
| convert | back to summary |
|---|---|
| public RuntimeException convert(HibernateException e, LockOptions lockOptions) Implements org. Doc from org. Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.
| |
| convert | back to summary |
|---|---|
| public RuntimeException convert(HibernateException e) Implements org. Doc from org. Converts a Hibernate-specific exception into a JPA-specified exception; note that the JPA specification makes use of exceptions outside its exception hierarchy, though they are all runtime exceptions.
| |
| convert | back to summary |
|---|---|
| public RuntimeException convert(RuntimeException e) Implements org.
| |
| convert | back to summary |
|---|---|
| public RuntimeException convert(RuntimeException e, LockOptions lockOptions) Implements org.
| |
| convert | back to summary |
|---|---|
| public JDBCException convert(SQLException e, String message) Implements org.
| |
| convertCommitException | back to summary |
|---|---|
| public RuntimeException convertCommitException(RuntimeException e) Implements org. Doc from org. Converts the exception thrown during the transaction commit phase
| |
| handlePersistenceException | back to summary |
|---|---|
| private void handlePersistenceException(PersistenceException e) | |
| wrapLockException | back to summary |
|---|---|
| protected PersistenceException wrapLockException(HibernateException e, LockOptions lockOptions) | |
| wrapStaleStateException | back to summary |
|---|---|
| protected PersistenceException wrapStaleStateException(StaleStateException e) | |