Uses of Interface
org.datanucleus.transaction.Transaction
Packages that use Transaction
Package
Description
This package provides classes that are typically externally called, whether that means by developers
or by other DataNucleus plugins.
Provides classes relating to the life cycle state management of a persistable object.
Package defining the connection to the datastore.
Package providing support specific to transactions for DataNucleus.
Package providing handlers for JTA transactions
-
Uses of Transaction in org.datanucleus
Fields in org.datanucleus declared as TransactionMethods in org.datanucleus that return TransactionModifier and TypeMethodDescriptionExecutionContext.getTransaction()
Accessor for the current transaction for this execution context.ExecutionContextImpl.getTransaction()
-
Uses of Transaction in org.datanucleus.state
Methods in org.datanucleus.state with parameters of type TransactionModifier and TypeMethodDescriptionvoid
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.transitionBegin
(DNStateManager sm, Transaction tx) Method to transition to transaction begin state.LifeCycleState.transitionCommit
(DNStateManager sm, Transaction tx) Method to transition to commit state.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 TransactionModifier and TypeMethodDescriptionprivate ManagedConnection
ConnectionManagerImpl.allocateManagedConnection
(boolean primary, ExecutionContext ec, Transaction transaction, Map options) Method to return a ManagedConnection for this ExecutionContext.private void
ConnectionManagerImpl.configureTransactionEventListener
(Transaction transaction, ManagedConnection mconn) Configure a TransactionEventListener that closes the managed connection when a transaction commits or rolls backConnectionManager.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.ConnectionManagerImpl.getConnection
(boolean primary, ExecutionContext ec, Transaction txn) -
Uses of Transaction in org.datanucleus.transaction
Classes in org.datanucleus.transaction that implement TransactionModifier and TypeClassDescriptionclass
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 TransactionModifier and TypeClassDescriptionclass
A transaction that is synchronised with a Java Transaction Service (JTA) transaction with JCA.class
Transaction that is synchronized with a Java Transaction Service (JTA) transaction.