Interface TransactionImplementor
- All Superinterfaces:
EntityTransaction
,Transaction
- All Known Implementing Classes:
TransactionImpl
Defines the "internal contract" for an implementation of
Transaction
.-
Method Summary
Modifier and TypeMethodDescriptionboolean
isActive
(boolean isMarkedRollbackConsideredActive) Indicate whether a resource transaction is in progress.Methods inherited from interface jakarta.persistence.EntityTransaction
begin, commit, getRollbackOnly, isActive, rollback, setRollbackOnly, setTimeout
Methods inherited from interface org.hibernate.Transaction
getStatus, getTimeout, markRollbackOnly, registerSynchronization, setTimeout
-
Method Details
-
isActive
boolean isActive(boolean isMarkedRollbackConsideredActive) Indicate whether a resource transaction is in progress.- Parameters:
isMarkedRollbackConsideredActive
- whether to considerTransactionStatus.MARKED_ROLLBACK
as active.- Returns:
- boolean indicating whether transaction is in progress
- Throws:
HibernateException
- if an unexpected error condition is encountered.
-