Uses of Interface
org.datanucleus.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 of a persistable object.org.datanucleus.store.connection Package defining the connection to the datastore. -
-
Uses of Transaction in org.datanucleus
Classes in org.datanucleus 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.class
TransactionImpl
Implementation of a transaction for an ExecutionContext, for a datastore.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()
Accessor for the current transaction. -
Uses of Transaction in org.datanucleus.state
Methods in org.datanucleus.state with parameters of type Transaction Modifier and Type Method Description void
ObjectProvider. 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
ObjectProvider. preBegin(Transaction tx)
Convenience interceptor to allow operations to be performed before the begin is performedvoid
StateManagerImpl. preBegin(Transaction tx)
Method invoked just before a transaction starts for the ExecutionContext managing us.void
ObjectProvider. 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(ObjectProvider op, Transaction tx)
Method to transition to transaction begin state.LifeCycleState
LifeCycleState. transitionCommit(ObjectProvider op, Transaction tx)
Method to transition to commit state.LifeCycleState
LifeCycleState. transitionRollback(ObjectProvider op, 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)
-