Interface TransactionImplementor
- All Superinterfaces:
EntityTransaction,Transaction
- All Known Implementing Classes:
TransactionImpl
Defines the "internal contract" for an implementation of
Transaction.- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive(boolean isMarkedRollbackConsideredActive) Indicate whether a resource transaction is in progress.Methods inherited from interface jakarta.persistence.EntityTransaction
begin, commit, getRollbackOnly, isActive, rollback, setRollbackOnlyMethods 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_ROLLBACKas active.- Returns:
- boolean indicating whether transaction is in progress
- Throws:
HibernateException- if an unexpected error condition is encountered.
-