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.
|
Modifier and Type | Class and 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 a datastore.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
ExecutionContext.getTransaction()
Accessor for the current transaction for this execution context.
|
Transaction |
ExecutionContextImpl.getTransaction()
Accessor for the current transaction.
|
Modifier and Type | Method and 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 |
AbstractStateManager.postCommit(Transaction tx)
This method is invoked just after a commit is performed in a Transaction
involving the persistable object managed by this StateManager
|
void |
ObjectProvider.preBegin(Transaction tx)
Convenience interceptor to allow operations to be performed before the begin is performed
|
void |
AbstractStateManager.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 |
AbstractStateManager.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.
|
Modifier and Type | Method and Description |
---|---|
ManagedConnection |
ConnectionManagerImpl.allocateConnection(ConnectionFactory factory,
ExecutionContext ec,
Transaction transaction,
Map options)
Method to return a connection for this ExecutionContext.
|
ManagedConnection |
ConnectionManager.allocateConnection(ConnectionFactory factory,
ExecutionContext ec,
Transaction tx,
Map options)
Allocate a connection using the specified factory (unless we already have one cached for the ExecutionContext).
|
ManagedConnection |
ConnectionFactory.getConnection(ExecutionContext ec,
Transaction transaction,
Map options)
Obtain a connection from the Factory.
|
ManagedConnection |
AbstractConnectionFactory.getConnection(ExecutionContext ec,
Transaction txn,
Map options) |
Copyright © 2017. All rights reserved.