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.api |
Provides adapters for different client APIs, like JDO, JPA and so on.
|
org.datanucleus.flush |
This package provides classes managing the flush process when using MANUAL flush.
|
org.datanucleus.identity |
Package defining object identity classes.
|
org.datanucleus.metadata |
Provides classes representing the MetaData for files, packages, classes, fields, containers, etc.
|
org.datanucleus.query |
This package provides general classes for querying across all datastores in particular languages.
|
org.datanucleus.query.inmemory |
Package providing the evaluation of queries using an in-memory process with evaluators for JDOQL and JPQL.
|
org.datanucleus.state |
Provides classes relating to the life cycle state of a persistable object.
|
org.datanucleus.store |
Package handling the storage of classes to the datastore, and the management of the datastore.
|
org.datanucleus.store.connection |
Package defining the connection to the datastore.
|
org.datanucleus.store.federation |
Package providing management for federation of datastores.
|
org.datanucleus.store.fieldmanager |
Package providing managers for fields which give a mechanism for navigating through fields of a class and
performing operations based on the type of the field.
|
org.datanucleus.store.query |
Package providing implementation of query language support for datastores.
|
org.datanucleus.store.schema |
Package defining the data structure mechanism for the schema of the datastore.
|
org.datanucleus.store.types |
Package providing basic java type handling for DataNucleus.
|
org.datanucleus.transaction |
Package providing support specific to transactions for DataNucleus.
|
Modifier and Type | Class and Description |
---|---|
class |
ExecutionContextImpl
Manager for persistence/retrieval of objects within an execution context, equating to the work required by JDO PersistenceManager and JPA EntityManager.
|
class |
ExecutionContextThreadedImpl
ExecutionContext to attempt to handle multi-threaded PM/EM cases.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ExecutionContextPool.checkOut(Object owner,
Map<String,Object> options) |
protected ExecutionContext |
ExecutionContextPool.create(Object owner,
Map<String,Object> options) |
ExecutionContext |
PersistenceNucleusContext.getExecutionContext(Object owner,
Map<String,Object> options)
Method to return an ExecutionContext for use in persistence.
|
ExecutionContext |
PersistenceNucleusContextImpl.getExecutionContext(Object owner,
Map<String,Object> options) |
Modifier and Type | Method and Description |
---|---|
void |
ExecutionContextPool.checkIn(ExecutionContext ec) |
void |
ExecutionContextListener.executionContextClosing(ExecutionContext ec)
Method called when the specified ExecutionContext is closing.
|
void |
ExecutionContextPool.expire(ExecutionContext ec) |
BeanValidationHandler |
PersistenceNucleusContext.getBeanValidationHandler(ExecutionContext ec)
Method to return a handler for bean validation (JSR303).
|
BeanValidationHandler |
PersistenceNucleusContextImpl.getBeanValidationHandler(ExecutionContext ec) |
String |
PersistenceNucleusContext.getCurrentUser(ExecutionContext ec)
Accessor for the current user for the supplied ExecutionContext.
|
String |
PersistenceNucleusContextImpl.getCurrentUser(ExecutionContext ec) |
String |
PersistenceNucleusContext.getMultiTenancyId(ExecutionContext ec,
AbstractClassMetaData cmd)
Accessor for the tenant id for the supplied class and ExecutionContext.
|
String |
PersistenceNucleusContextImpl.getMultiTenancyId(ExecutionContext ec,
AbstractClassMetaData cmd) |
void |
ExecutionContext.LifecycleListener.preClose(ExecutionContext ec)
Invoked before closing the ExecutionContext
|
boolean |
ExecutionContextPool.validate(ExecutionContext ec) |
Constructor and Description |
---|
BeanValidationHandler(ExecutionContext ec,
javax.validation.ValidatorFactory factory)
Constructor for a validation handler.
|
FetchPlan(ExecutionContext ec,
ClassLoaderResolver clr)
Constructor.
|
ReachabilityAtCommitHandler(ExecutionContext ec)
Constructor for a reachability-at-commit handler.
|
TransactionImpl(ExecutionContext ec,
PropertyStore properties)
Constructor for a transaction for the specified ExecutionContext.
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ApiAdapter.getExecutionContext(Object pc)
Method to return the ExecutionContext (if any) associated with the passed object.
|
Modifier and Type | Method and Description |
---|---|
List<NucleusOptimisticException> |
FlushProcess.execute(ExecutionContext ec,
List<ObjectProvider> primaryOPs,
List<ObjectProvider> secondaryOPs,
OperationQueue opQueue)
Execute the flush.
|
List<NucleusOptimisticException> |
FlushNonReferential.execute(ExecutionContext ec,
List<ObjectProvider> primaryOPs,
List<ObjectProvider> secondaryOPs,
OperationQueue opQueue) |
List<NucleusOptimisticException> |
FlushOrdered.execute(ExecutionContext ec,
List<ObjectProvider> primaryOPs,
List<ObjectProvider> secondaryOPs,
OperationQueue opQueue) |
List<NucleusOptimisticException> |
FlushNonReferential.flushDeleteInsertUpdateGrouped(Set<ObjectProvider> opsToFlush,
ExecutionContext ec)
Method that does the flushing of the passed ObjectProviders, grouping them into all DELETEs, then all INSERTs,
finally all UPDATEs.
|
void |
OperationQueue.processOperationsForNoBackingStoreSCOs(ExecutionContext ec)
Method to process all SCO operations where the SCOs don't use a backing store.
|
Modifier and Type | Method and Description |
---|---|
static Object |
IdentityUtils.getApplicationIdentityForResultSetRow(ExecutionContext ec,
AbstractClassMetaData cmd,
Class pcClass,
boolean inheritanceCheck,
FieldManager resultsFM)
Method to return the object application identity for a row of the result set.
|
Object |
IdentityStringTranslator.getIdentity(ExecutionContext ec,
String stringId)
Method to translate the object into the identity.
|
Object |
XcaliaIdentityStringTranslator.getIdentity(ExecutionContext ec,
String stringId) |
Object |
IdentityKeyTranslator.getKey(ExecutionContext ec,
Class cls,
Object key)
Method to translate the object into the identity.
|
static Object |
IdentityUtils.getObjectFromIdString(String idStr,
AbstractClassMetaData cmd,
ExecutionContext ec,
boolean checkInheritance)
Convenience method to find an object given a string form of its identity, and the metadata for the class (or a superclass).
|
static Object |
IdentityUtils.getObjectFromIdString(String idStr,
AbstractMemberMetaData mmd,
FieldRole fieldRole,
ExecutionContext ec,
boolean checkInheritance)
Convenience method to find an object given a string form of its identity, and the metadata for the member.
|
static Object |
IdentityUtils.getObjectFromPersistableIdentity(String persistableId,
AbstractClassMetaData cmd,
ExecutionContext ec)
Convenience method to find an object given a string form of its identity, and the metadata for the class (or a superclass).
|
Modifier and Type | Method and Description |
---|---|
static List<AbstractClassMetaData> |
MetaDataUtils.getMetaDataForCandidates(Class cls,
boolean subclasses,
ExecutionContext ec)
Convenience method to return the class metadata for the candidate and optionally its subclasses.
|
boolean |
MetaDataUtils.storesFCO(AbstractMemberMetaData fmd,
ExecutionContext ec)
Convenience method that returns if a field stores a First-Class object (FCO).
|
boolean |
MetaDataUtils.storesPersistable(AbstractMemberMetaData fmd,
ExecutionContext ec)
Convenience method that returns if a field stores a persistable object.
|
Modifier and Type | Method and Description |
---|---|
static List |
QueryUtils.orderCandidates(List candidates,
Class type,
String ordering,
ExecutionContext ec,
ClassLoaderResolver clr)
Convenience method to in-memory order the candidates, using the ordering supplied.
|
static List |
QueryUtils.orderCandidates(List candidates,
Class type,
String ordering,
ExecutionContext ec,
ClassLoaderResolver clr,
String queryLanguage)
Convenience method to in-memory order the candidates, using the ordering supplied.
|
static List |
QueryUtils.orderCandidates(List candidates,
Expression[] ordering,
Map state,
String candidateAlias,
ExecutionContext ec,
ClassLoaderResolver clr,
Map parameterValues,
Imports imports,
String queryLanguage)
Convenience method to order the input List of objects to the ordering defined by the compilation.
|
Constructor and Description |
---|
InMemoryExpressionEvaluator(ExecutionContext ec,
Map params,
Map<String,Object> state,
Imports imports,
ClassLoaderResolver clr,
String candidateAlias,
String queryLang)
Constructor for an in-memory evaluator.
|
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
StateManagerImpl.myEC
The ExecutionContext for this StateManager
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ObjectProvider.getExecutionContext() |
ExecutionContext |
StateManagerImpl.getExecutionContext() |
Modifier and Type | Method and Description |
---|---|
protected void |
RelationshipManagerImpl.checkManyToManyBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to check consistency of the passed field as M-N.
|
protected void |
RelationshipManagerImpl.checkManyToOneBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to check the consistency of the passed field as N-1.
|
protected void |
RelationshipManagerImpl.checkOneToManyBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to check the consistency of the passed field as 1-N.
|
protected void |
RelationshipManagerImpl.checkOneToOneBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to check the consistency of the passed field as 1-1.
|
ObjectProvider |
ObjectProviderPool.checkOut(ExecutionContext ec,
AbstractClassMetaData cmd) |
void |
ObjectProvider.connect(ExecutionContext ec,
AbstractClassMetaData cmd)
Method to (re)connect this provider to the specified ExecutionContext and object type.
|
void |
StateManagerImpl.connect(ExecutionContext ec,
AbstractClassMetaData cmd) |
void |
ReferentialStateManagerImpl.connect(ExecutionContext ec,
AbstractClassMetaData cmd) |
protected ObjectProvider |
ObjectProviderPool.create(ExecutionContext ec,
AbstractClassMetaData cmd) |
protected ObjectProvider |
ObjectProviderFactoryImpl.getObjectProvider(ExecutionContext ec,
AbstractClassMetaData cmd) |
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForCachedPC(ExecutionContext ec,
Object id,
CachedPC<T> cachedPC)
Constructor to create an ObjectProvider for an object taken from the L2 cache with the specified id.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForCachedPC(ExecutionContext ec,
Object id,
CachedPC<T> cachedPC)
Constructor to create an ObjectProvider for an object taken from the L2 cache with the specified id.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForDetached(ExecutionContext ec,
T pc,
Object id,
Object version)
Constructor for creating an ObjectProvider to manage a persistable object in detached state.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForDetached(ExecutionContext ec,
T pc,
Object id,
Object version)
Constructor for creating ObjectProvider instances to manage persistable objects in detached state.
|
ObjectProvider |
ObjectProviderFactoryImpl.newForEmbedded(ExecutionContext ec,
AbstractClassMetaData cmd,
ObjectProvider ownerOP,
int ownerFieldNumber)
Constructs an ObjectProvider for an object of the specified type, creating the PC object to hold the values
where this object will be EMBEDDED/SERIALISED into another persistable object.
|
ObjectProvider |
ObjectProviderFactory.newForEmbedded(ExecutionContext ec,
AbstractClassMetaData cmd,
ObjectProvider ownerOP,
int ownerFieldNumber)
Constructs an ObjectProvider for an object of the specified type, creating the PC object to hold the values
where this object will be EMBEDDED/SERIALISED into another persistable object.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForEmbedded(ExecutionContext ec,
T pc,
boolean copyPc,
ObjectProvider ownerOP,
int ownerFieldNumber)
Constructs an ObjectProvider to manage a persistable instance that will
be EMBEDDED/SERIALISED into another persistable object.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForEmbedded(ExecutionContext ec,
T pc,
boolean copyPc,
ObjectProvider ownerOP,
int ownerFieldNumber)
Constructs an ObjectProvider to manage a persistable instance that will
be EMBEDDED/SERIALISED into another persistable object.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForHollow(ExecutionContext ec,
Class<T> pcClass,
Object id)
Constructs an ObjectProvider to manage a hollow instance having the given object ID.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForHollow(ExecutionContext ec,
Class<T> pcClass,
Object id)
Constructs an ObjectProvider to manage a hollow instance having the given object ID.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForHollow(ExecutionContext ec,
Class<T> pcClass,
Object id,
FieldValues fv)
Constructs an ObjectProvider to manage a recently populated hollow instance having the
given object ID and the given field values.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForHollow(ExecutionContext ec,
Class<T> pcClass,
Object id,
FieldValues fv)
Constructs an ObjectProvider to manage a recently populated hollow instance having the
given object ID and the given field values.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForHollowPopulatedAppId(ExecutionContext ec,
Class<T> pcClass,
FieldValues fv)
Deprecated.
Use newForHollowPopulated instead
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForHollowPopulatedAppId(ExecutionContext ec,
Class<T> pcClass,
FieldValues fv)
Deprecated.
Use newForHollowPopulated instead
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForHollowPreConstructed(ExecutionContext ec,
Object id,
T pc)
Constructs an ObjectProvider to manage a hollow instance having the given object ID.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForHollowPreConstructed(ExecutionContext ec,
Object id,
T pc)
Constructs an ObjectProvider to manage a hollow instance having the given object ID.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForPersistentClean(ExecutionContext ec,
Object id,
T pc)
Constructs an ObjectProvider to manage the specified persistent instance having the given object ID.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForPersistentClean(ExecutionContext ec,
Object id,
T pc)
Constructs an ObjectProvider to manage the specified persistent instance having the given object ID.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForPersistentNew(ExecutionContext ec,
T pc,
FieldValues preInsertChanges)
Constructs an ObjectProvider to manage a transient instance that is becoming newly persistent.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForPersistentNew(ExecutionContext ec,
T pc,
FieldValues fv)
Constructs an ObjectProvider to manage a transient instance that is becoming newly persistent.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForPNewToBeDeleted(ExecutionContext ec,
T pc)
Constructor for creating an ObjectProvider to manage a persistable object that is not persistent yet
is about to be deleted.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForPNewToBeDeleted(ExecutionContext ec,
T pc)
Constructor for creating ObjectProvider instances to manage persistable objects that are not persistent yet
are about to be deleted.
|
<T> ObjectProvider<T> |
ObjectProviderFactoryImpl.newForTransactionalTransient(ExecutionContext ec,
T pc)
Constructs an ObjectProvider to manage a transactional-transient instance.
|
<T> ObjectProvider<T> |
ObjectProviderFactory.newForTransactionalTransient(ExecutionContext ec,
T pc)
Constructs an ObjectProvider to manage a transactional-transient instance.
|
protected void |
RelationshipManagerImpl.processManyToManyBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to process all M-N bidirectional fields.
|
protected void |
RelationshipManagerImpl.processManyToOneBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to process all N-1 bidirectional fields.
|
protected void |
RelationshipManagerImpl.processOneToManyBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to process all 1-N bidirectional fields.
|
protected void |
RelationshipManagerImpl.processOneToOneBidirectionalRelation(AbstractMemberMetaData mmd,
ClassLoaderResolver clr,
ExecutionContext ec,
List<org.datanucleus.state.RelationshipManagerImpl.RelationChange> changes)
Method to process all 1-1 bidir fields.
|
Constructor and Description |
---|
LockManagerImpl(ExecutionContext ec) |
ReferentialStateManagerImpl(ExecutionContext ec,
AbstractClassMetaData cmd)
Constructor for object of specified type managed by the provided ExecutionContext.
|
StateManagerImpl(ExecutionContext ec,
AbstractClassMetaData cmd)
Constructor for object of specified type managed by the provided ExecutionContext.
|
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
NucleusSequenceImpl.ec
execution context.
|
protected ExecutionContext |
AbstractExtent.ec
ExecutionContext
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
Extent.getExecutionContext() |
ExecutionContext |
DefaultCandidateExtent.getExecutionContext() |
ExecutionContext |
AbstractExtent.getExecutionContext()
Accessor for the owning execution context.
|
Modifier and Type | Method and Description |
---|---|
default void |
StorePersistenceHandler.batchEnd(ExecutionContext ec,
StorePersistenceHandler.PersistenceBatchType type)
Signal that the current batch of operations are ending for the specified ExecutionContext.
|
default void |
StorePersistenceHandler.batchStart(ExecutionContext ec,
StorePersistenceHandler.PersistenceBatchType batchType)
Signal that a batch of operations are starting for the specified ExecutionContext.
|
Object |
StorePersistenceHandler.findObject(ExecutionContext ec,
Object id)
Method to find a persistable object with the specified id from the datastore, if the StoreManager
supports this operation (optional).
|
Object |
StorePersistenceHandler.findObjectForUnique(ExecutionContext ec,
AbstractClassMetaData cmd,
String[] memberNames,
Object[] values)
Method to find the object with the specified value(s) for the member(s) of the specified type.
|
Object |
AbstractPersistenceHandler.findObjectForUnique(ExecutionContext ec,
AbstractClassMetaData cmd,
String[] memberNames,
Object[] values) |
default Object[] |
StorePersistenceHandler.findObjects(ExecutionContext ec,
Object[] ids)
Method to find an array of objects with the specified identities from the datastore.
|
String |
StoreManager.getClassNameForObjectID(Object id,
ClassLoaderResolver clr,
ExecutionContext ec)
Returns the class corresponding to the given object identity.
|
String |
AbstractStoreManager.getClassNameForObjectID(Object id,
ClassLoaderResolver clr,
ExecutionContext ec) |
<T> Extent<T> |
StoreManager.getExtent(ExecutionContext ec,
Class<T> c,
boolean subclasses)
Interface to getting an Extent for a class.
|
<T> Extent<T> |
AbstractStoreManager.getExtent(ExecutionContext ec,
Class<T> c,
boolean subclasses) |
protected Object |
AbstractStoreManager.getNextValueForValueGenerator(ValueGenerator generator,
ExecutionContext ec)
Accessor for the next value from the specified ValueGenerator.
|
NucleusConnection |
StoreManager.getNucleusConnection(ExecutionContext ec)
Method to return a connection to the user for the ExecutionContext.
|
NucleusConnection |
AbstractStoreManager.getNucleusConnection(ExecutionContext ec) |
default NucleusSequence |
StoreManager.getNucleusSequence(ExecutionContext ec,
SequenceMetaData seqmd)
Method to return a datastore sequence for this datastore matching the passed sequence MetaData.
|
Object |
StoreManager.getValueGenerationStrategyValue(ExecutionContext ec,
AbstractClassMetaData cmd,
int absoluteFieldNumber)
Method to retrieve the value for a value generation strategy for a particular field.
|
Object |
AbstractStoreManager.getValueGenerationStrategyValue(ExecutionContext ec,
AbstractClassMetaData cmd,
int absoluteFieldNumber) |
Query |
StoreManager.newQuery(String language,
ExecutionContext ec)
Method to return a new query, for the specified language and ExecutionContext.
|
Query |
StoreManager.newQuery(String language,
ExecutionContext ec,
Query q)
Method to return a new query, for the specified language and ExecutionContext, using the specified existing query to copy from.
|
Query |
StoreManager.newQuery(String language,
ExecutionContext ec,
String queryString)
Method to return a new query, for the specified language and ExecutionContext, using the specified query string.
|
default void |
StoreManager.transactionCommitted(ExecutionContext ec)
Method to inform the StoreManager that a transaction has committed for the specified execution context.
|
default void |
StoreManager.transactionRolledBack(ExecutionContext ec)
Method to inform the StoreManager that a transaction has rolled back for the specified execution context.
|
default void |
StoreManager.transactionStarted(ExecutionContext ec)
Method to inform the StoreManager that a transaction has started for the specified execution context.
|
boolean |
StoreManager.useBackedSCOWrapperForMember(AbstractMemberMetaData mmd,
ExecutionContext ec)
Method to return whether the specified member should use a backed SCO wrapper.
|
boolean |
AbstractStoreManager.useBackedSCOWrapperForMember(AbstractMemberMetaData mmd,
ExecutionContext ec) |
Constructor and Description |
---|
AbstractExtent(ExecutionContext ec,
Class<T> cls,
boolean subclasses,
AbstractClassMetaData cmd)
Constructor.
|
DefaultCandidateExtent(ExecutionContext ec,
Class<T> cls,
boolean subclasses,
AbstractClassMetaData cmd)
Constructor.
|
NucleusSequenceImpl(ExecutionContext objectMgr,
StoreManager storeMgr,
SequenceMetaData seqmd)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionManagerImpl.closeAllConnections(ExecutionContext ec) |
void |
ConnectionManager.closeAllConnections(ExecutionContext ec)
Method to close all pooled connections for the specified ExecutionContext.
|
ManagedConnection |
ConnectionFactory.createManagedConnection(ExecutionContext ec,
Map<String,Object> transactionOptions)
Create the ManagedConnection.
|
ManagedConnection |
ConnectionManagerImpl.getConnection(boolean primary,
ExecutionContext ec,
Transaction txn) |
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.
|
default ManagedConnection |
ConnectionManager.getConnection(ExecutionContext ec)
Accessor for a connection for the specified ExecutionContext.
|
ManagedConnection |
ConnectionManagerImpl.getConnection(ExecutionContext ec,
Map options) |
ManagedConnection |
ConnectionManager.getConnection(ExecutionContext ec,
Map options)
Accessor for a connection for the specified ExecutionContext.
|
protected ManagedConnection |
ConnectionManagerImpl.getManagedConnection(boolean primary,
ExecutionContext ec)
Get a ManagedConnection from the cache.
|
protected void |
ConnectionManagerImpl.putManagedConnection(boolean primary,
ExecutionContext ec,
ManagedConnection mconn)
Put a ManagedConnection into the cache.
|
protected void |
ConnectionManagerImpl.removeManagedConnection(boolean primary,
ExecutionContext ec)
Method to remove the ManagedConnection from the cache.
|
Constructor and Description |
---|
FederatedJDOQLQuery(StoreManager storeMgr,
ExecutionContext ec)
Constructs a new query instance that uses the given execution context.
|
FederatedJDOQLQuery(StoreManager storeMgr,
ExecutionContext ec,
FederatedJDOQLQuery q)
Constructs a new query instance having the same criteria as the given query.
|
FederatedJDOQLQuery(StoreManager storeMgr,
ExecutionContext ec,
String query)
Constructor for a JDOQL query where the query is specified using the "Single-String" format.
|
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
AbstractFetchFieldManager.ec |
protected ExecutionContext |
AbstractStoreFieldManager.ec |
Constructor and Description |
---|
AbstractFetchFieldManager(ExecutionContext ec,
AbstractClassMetaData cmd)
Constructor to use when creating new objects of the specified type, say from a query.
|
AbstractStoreFieldManager(ExecutionContext ec,
AbstractClassMetaData cmd,
boolean insert) |
Modifier and Type | Field and Description |
---|---|
protected ExecutionContext |
AbstractCandidateLazyLoadList.ec
ExecutionContext.
|
protected ExecutionContext |
Query.ec |
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
Query.getExecutionContext()
Accessor for the Execution Context associated with this Query.
|
Modifier and Type | Method and Description |
---|---|
void |
Query.executionContextClosing(ExecutionContext ec) |
Constructor and Description |
---|
AbstractCandidateLazyLoadList(Class cls,
boolean subclasses,
ExecutionContext ec,
String cacheType) |
AbstractJavaQuery(StoreManager storeMgr,
ExecutionContext ec)
Constructor for a Java-based query.
|
AbstractJDOQLQuery(StoreManager storeMgr,
ExecutionContext ec)
Constructor.
|
AbstractJDOQLQuery(StoreManager storeMgr,
ExecutionContext ec,
AbstractJDOQLQuery q)
Constructs a new query instance having the same criteria as the given query.
|
AbstractJDOQLQuery(StoreManager storeMgr,
ExecutionContext ec,
String query)
Constructor for a JDOQL query where the query is specified using the "Single-String" format.
|
AbstractJPQLQuery(StoreManager storeMgr,
ExecutionContext ec)
Constructor.
|
AbstractJPQLQuery(StoreManager storeMgr,
ExecutionContext ec,
AbstractJPQLQuery q)
Constructs a new query instance having the same criteria as the given query.
|
AbstractJPQLQuery(StoreManager storeMgr,
ExecutionContext ec,
String query)
Constructor for a JPQL query where the query is specified using the "Single-String" format.
|
AbstractStoredProcedureQuery(StoreManager storeMgr,
ExecutionContext ec,
AbstractStoredProcedureQuery query)
Constructs a new query instance from the existing query.
|
AbstractStoredProcedureQuery(StoreManager storeMgr,
ExecutionContext ec,
String procName)
Constructs a new query instance having the same criteria as the given query.
|
Query(StoreManager storeMgr,
ExecutionContext ec)
Constructs a new query instance that uses the given ExecutionContext.
|
Modifier and Type | Method and Description |
---|---|
String |
MultiTenancyProvider.getTenantId(ExecutionContext ec) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SCOUtils.validateObjectForWriting(ExecutionContext ec,
Object object,
FieldValues fieldValues)
Method to check if an object to be stored in a SCO container is already persistent, or is managed by a
different ExecutionContext.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourcedTransactionManager.begin(ExecutionContext ec) |
void |
ResourcedTransactionManager.commit(ExecutionContext ec) |
ResourcedTransaction |
ResourcedTransactionManager.getTransaction(ExecutionContext ec) |
void |
ResourcedTransactionManager.resume(ExecutionContext ec,
ResourcedTransaction tx) |
void |
ResourcedTransactionManager.rollback(ExecutionContext ec) |
void |
ResourcedTransactionManager.setRollbackOnly(ExecutionContext ec) |
void |
ResourcedTransactionManager.setTransactionTimeout(ExecutionContext ec,
int millis) |
ResourcedTransaction |
ResourcedTransactionManager.suspend(ExecutionContext ec) |
Copyright © 2019. All rights reserved.