javax.transaction.Synchronization registered by Hibernate handles
exceptions.
| Modifier and Type | Method and Description |
|---|---|
| public RuntimeException | Returns: The appropriate exception to throwThe message to use for the returned exception message, RuntimeException The causal exception failure, SessionImplementor session)
Deprecated
as a consequence of
Map an exception encountered during a managed flush to the appropriate runtime-based exception.
SessionImplementor being deprecated.
|
| public RuntimeException | Returns: The appropriate exception to throwThe message to use for the returned exception message, SystemException The causal exception systemException, SessionImplementor sessionImplementor)
Deprecated
as a consequence of
Map a JTA SessionImplementor being deprecated.
javax. to the appropriate runtime-based exception.
|
| mapManagedFlushFailure | back to summary |
|---|---|
| public RuntimeException mapManagedFlushFailure(String message, RuntimeException failure, SessionImplementor session)
Deprecated as a consequence of Map an exception encountered during a managed flush to the appropriate runtime-based exception.
| |
| mapStatusCheckFailure | back to summary |
|---|---|
| public RuntimeException mapStatusCheckFailure(String message, SystemException systemException, SessionImplementor sessionImplementor)
Deprecated as a consequence of Map a JTA
| |