| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private static final EntityManagerMessageLogger | |
| private final SharedSessionContractImplementor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public RuntimeException | convert(HibernateException
The Hibernate exception. exception, LockOptions The lock options in effect at the time of exception (can be null) lockOptions)Implements org. |
| public RuntimeException | convert(HibernateException
The Hibernate exception. exception)Implements org. |
| public RuntimeException | |
| public RuntimeException | convert(RuntimeException exception, LockOptions lockOptions)
Implements org. |
| public JDBCException | convert(SQLException e, String message)
Implements org. |
| public RuntimeException | convertCommitException(RuntimeException
The exception being handled exception)Implements org. |
| private void | |
| private Throwable | |
| protected PersistenceException | |
| protected PersistenceException |
| isJpaBootstrap | back to summary |
|---|---|
| private final boolean isJpaBootstrap | |
| log | back to summary |
|---|---|
| private static final EntityManagerMessageLogger log | |
| sharedSessionContract | back to summary |
|---|---|
| private final SharedSessionContractImplementor sharedSessionContract | |
| ExceptionConverterImpl | back to summary |
|---|---|
| public ExceptionConverterImpl(SharedSessionContractImplementor sharedSessionContract) | |
| convert | back to summary |
|---|---|
| public RuntimeException convert(HibernateException exception, 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 exception) 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 exception) Implements org.
| |
| convert | back to summary |
|---|---|
| public RuntimeException convert(RuntimeException exception, 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 exception) Implements org. Doc from org. Converts the exception thrown during the transaction commit phase
| |
| rollbackIfNecessary | back to summary |
|---|---|
| private void rollbackIfNecessary(PersistenceException e) | |
| wrapCommitException | back to summary |
|---|---|
| private Throwable wrapCommitException(RuntimeException exception) | |
| wrapLockException | back to summary |
|---|---|
| protected PersistenceException wrapLockException(HibernateException exception, LockOptions lockOptions) | |
| wrapStaleStateException | back to summary |
|---|---|
| protected PersistenceException wrapStaleStateException(StaleStateException exception) | |