jakarta.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)Map an exception encountered during a managed flush to the appropriate runtime-based exception. |
| public RuntimeException | Returns: The appropriate exception to throwThe message to use for the returned exception message, SystemException The causal exception systemException, SessionImplementor sessionImplementor)Map a JTA |
| mapManagedFlushFailure | back to summary |
|---|---|
| public RuntimeException mapManagedFlushFailure(String message, RuntimeException failure, SessionImplementor session) 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) Map a JTA
| |