Interface TransactionImplementor
-
- All Superinterfaces:
EntityTransaction
,Transaction
- All Known Implementing Classes:
TransactionImpl
public interface TransactionImplementor extends Transaction
Defines the "internal contract" for an implementation ofTransaction
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isActive(boolean isMarkedRollbackConsideredActive)
Indicate whether a resource transaction is in progress.-
Methods inherited from interface jakarta.persistence.EntityTransaction
begin, commit, getRollbackOnly, isActive, rollback, setRollbackOnly
-
Methods inherited from interface org.hibernate.Transaction
getStatus, getTimeout, markRollbackOnly, registerSynchronization, setTimeout
-
-
-
-
Method Detail
-
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.
-
-