Top Description Methods
org.hibernate.engine.transaction.spi

public Interface TransactionImplementor

extends Transaction
Known Direct Implementers
org.hibernate.engine.transaction.internal.TransactionImpl
Imports
org.hibernate.HibernateException, .Transaction, org.hibernate.resource.transaction.spi.TransactionStatus

Defines the "internal contract" for an implementation of Transaction.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

boolean indicating whether transaction is in progress
isActive
(boolean
whether to consider TransactionStatus#MARKED_ROLLBACK as active.
isMarkedRollbackConsideredActive
)

Indicate whether a resource transaction is in progress.

Inherited from org.hibernate.Transaction:
getStatusgetTimeoutmarkRollbackOnlyregisterSynchronizationsetTimeout

Method Detail

isActiveback to summary
public boolean isActive(boolean isMarkedRollbackConsideredActive)

Indicate whether a resource transaction is in progress.

Parameters
isMarkedRollbackConsideredActive:boolean

whether to consider TransactionStatus#MARKED_ROLLBACK as active.

Returns:boolean

boolean indicating whether transaction is in progress

Exceptions
HibernateException:
if an unexpected error condition is encountered.