Uses of Interface
org.datanucleus.transaction.Transaction
-
Packages that use Transaction Package Description org.datanucleus This package provides classes that are typically externally called, whether that means by developers or by other DataNucleus plugins.org.datanucleus.state Provides classes relating to the life cycle state management of a persistable object.org.datanucleus.store.connection Package defining the connection to the datastore.org.datanucleus.transaction Package providing support specific to transactions for DataNucleus.org.datanucleus.transaction.jta Package providing handlers for JTA transactions -
-
Uses of Transaction in org.datanucleus
Methods in org.datanucleus that return Transaction Modifier and Type Method Description Transaction
ExecutionContext. getTransaction()
Accessor for the current transaction for this execution context.Transaction
ExecutionContextImpl. getTransaction()
-
Uses of Transaction in org.datanucleus.state
Methods in org.datanucleus.state with parameters of type Transaction Modifier and Type Method Description void
DNStateManager. postCommit(Transaction tx)
Convenience interceptor to allow operations to be performed after the commit is performed but before returning control to the application.void
StateManagerImpl. postCommit(Transaction tx)
This method is invoked just after a commit is performed in a Transaction involving the persistable object managed by this StateManagervoid
DNStateManager. preBegin(Transaction tx)
Convenience interceptor to allow operations to be performed before the begin is performed.void
StateManagerImpl. preBegin(Transaction tx)
Method invoked just before a transaction starts for the ExecutionContext managing us.void
DNStateManager. preRollback(Transaction tx)
Convenience interceptor to allow operations to be performed before any rollback is performed.void
StateManagerImpl. preRollback(Transaction tx)
This method is invoked just before a rollback is performed in a Transaction involving the persistable object managed by this StateManager.LifeCycleState
LifeCycleState. transitionBegin(DNStateManager sm, Transaction tx)
Method to transition to transaction begin state.LifeCycleState
LifeCycleState. transitionCommit(DNStateManager sm, Transaction tx)
Method to transition to commit state.LifeCycleState
LifeCycleState. transitionRollback(DNStateManager sm, Transaction tx)
Method to transition to rollback state. -
Uses of Transaction in org.datanucleus.store.connection
Methods in org.datanucleus.store.connection with parameters of type Transaction Modifier and Type Method Description ManagedConnection
ConnectionManager. getConnection(boolean primary, ExecutionContext ec, Transaction txn)
Accessor for a connection from the specified factory, for the specified ExecutionContext dependent on whether the connection will be enlisted.ManagedConnection
ConnectionManagerImpl. getConnection(boolean primary, ExecutionContext ec, Transaction txn)
-
Uses of Transaction in org.datanucleus.transaction
Classes in org.datanucleus.transaction that implement Transaction Modifier and Type Class Description class
TransactionImpl
Implementation of a (local) transaction for an ExecutionContext, for a datastore. -
Uses of Transaction in org.datanucleus.transaction.jta
Classes in org.datanucleus.transaction.jta that implement Transaction Modifier and Type Class Description class
JTAJCATransactionImpl
A transaction that is synchronised with a Java Transaction Service (JTA) transaction with JCA.class
JTATransactionImpl
Transaction that is synchronized with a Java Transaction Service (JTA) transaction.
-