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.
|
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.objectvaluegenerator | |
org.datanucleus.store.query |
Package providing implementation of query language support for datastores.
|
org.datanucleus.store.types |
Package providing basic java type handling for DataNucleus.
|
org.datanucleus.transaction |
Package providing support specific to transactions for DataNucleus.
|
org.datanucleus.util |
Provides utility classes used in the implementation that don't fit in a particular functional part of the system.
|
org.datanucleus.validation |
Package providing support for the JSR0303 validation framework within a persistence context.
|
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) |
CallbackHandler |
PersistenceNucleusContext.getValidationHandler(ExecutionContext ec)
Method to return a handler for validation (JSR303).
|
CallbackHandler |
PersistenceNucleusContextImpl.getValidationHandler(ExecutionContext ec) |
void |
ExecutionContext.LifecycleListener.preClose(ExecutionContext ec)
Invoked before closing the ExecutionContext
|
boolean |
ExecutionContextPool.validate(ExecutionContext ec) |
Constructor and Description |
---|
FetchPlan(ExecutionContext ec,
ClassLoaderResolver clr)
Constructor.
|
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 |
AbstractStateManager.myEC
The ExecutionContext for this StateManager
|
Modifier and Type | Method and Description |
---|---|
ExecutionContext |
ObjectProvider.getExecutionContext() |
ExecutionContext |
AbstractStateManager.getExecutionContext()
Accessor for the ExecutionContext for this object.
|
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 |
AbstractStateManager.connect(ExecutionContext ec,
AbstractClassMetaData cmd)
Method to (re)connect the provider to the specified ExecutionContext and object type.
|
void |
ReferentialStateManagerImpl.connect(ExecutionContext ec,
AbstractClassMetaData cmd) |
protected ObjectProvider |
ObjectProviderPool.create(ExecutionContext ec,
AbstractClassMetaData cmd) |
protected ObjectProvider |
ObjectProviderFactoryImpl.getObjectProvider(ExecutionContext ec,
AbstractClassMetaData cmd) |
protected static ObjectValueGenerator |
AbstractStateManager.getObjectValueGenerator(ExecutionContext ec,
String genName)
Method to find an object value generator based on its name.
|
<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 |
---|
AbstractStateManager(ExecutionContext ec,
AbstractClassMetaData cmd)
Constructor for object of specified type managed by the provided ExecutionContext.
|
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 |
---|---|
void |
StorePersistenceHandler.batchEnd(ExecutionContext ec,
PersistenceBatchType type)
Signal that the current batch of operations are ending for the specified ExecutionContext.
|
void |
AbstractPersistenceHandler.batchEnd(ExecutionContext ec,
PersistenceBatchType type) |
void |
StorePersistenceHandler.batchStart(ExecutionContext ec,
PersistenceBatchType batchType)
Signal that a batch of operations are starting for the specified ExecutionContext.
|
void |
AbstractPersistenceHandler.batchStart(ExecutionContext ec,
PersistenceBatchType batchType) |
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.findObjects(ExecutionContext ec,
Object[] ids)
Method to find an array of objects with the specified identities from the datastore.
|
Object[] |
AbstractPersistenceHandler.findObjects(ExecutionContext ec,
Object[] ids)
Simple implementation of find of multiple objects, relaying the find for each object
to
|
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) |
ManagedConnection |
StoreManager.getConnection(ExecutionContext ec)
Accessor for a connection for the specified ExecutionContext (PM/EM).
|
ManagedConnection |
AbstractStoreManager.getConnection(ExecutionContext ec)
Accessor for a connection for the specified ExecutionContext.
|
ManagedConnection |
StoreManager.getConnection(ExecutionContext ec,
Map options)
Accessor for a connection for the specified ExecutionContext (PM/EM).
|
ManagedConnection |
AbstractStoreManager.getConnection(ExecutionContext ec,
Map options)
Accessor for a connection for the specified ExecutionContext.
|
Extent |
StoreManager.getExtent(ExecutionContext ec,
Class c,
boolean subclasses)
Interface to getting an Extent for a class.
|
Extent |
AbstractStoreManager.getExtent(ExecutionContext ec,
Class c,
boolean subclasses) |
NucleusConnection |
StoreManager.getNucleusConnection(ExecutionContext ec)
Method to return a connection to the user for the ExecutionContext.
|
NucleusConnection |
AbstractStoreManager.getNucleusConnection(ExecutionContext ec) |
NucleusSequence |
StoreManager.getNucleusSequence(ExecutionContext ec,
SequenceMetaData seqmd)
Method to return a datastore sequence for this datastore matching the passed sequence MetaData.
|
NucleusSequence |
AbstractStoreManager.getNucleusSequence(ExecutionContext ec,
SequenceMetaData seqmd)
Method to return a datastore sequence for this datastore matching the passed sequence MetaData.
|
protected Properties |
AbstractStoreManager.getPropertiesForGenerator(AbstractClassMetaData cmd,
int absoluteFieldNumber,
ExecutionContext ec,
SequenceMetaData seqmd,
TableGeneratorMetaData tablegenmd)
Method to return the properties to pass to the generator for the specified field.
|
Object |
StoreManager.getStrategyValue(ExecutionContext ec,
AbstractClassMetaData cmd,
int absoluteFieldNumber)
Method to retrieve the value for a strategy for a particular field.
|
Object |
AbstractStoreManager.getStrategyValue(ExecutionContext ec,
AbstractClassMetaData cmd,
int absoluteFieldNumber) |
protected Object |
AbstractStoreManager.getStrategyValueForGenerator(ValueGenerator generator,
ExecutionContext ec)
Accessor for the next value from the specified generator.
|
void |
StoreManager.transactionCommitted(ExecutionContext ec)
Method to inform the StoreManager that a transaction has committed for the specified execution context.
|
void |
AbstractStoreManager.transactionCommitted(ExecutionContext ec) |
void |
StoreManager.transactionRolledBack(ExecutionContext ec)
Method to inform the StoreManager that a transaction has rolled back for the specified execution context.
|
void |
AbstractStoreManager.transactionRolledBack(ExecutionContext ec) |
void |
StoreManager.transactionStarted(ExecutionContext ec)
Method to inform the StoreManager that a transaction has started for the specified execution context.
|
void |
AbstractStoreManager.transactionStarted(ExecutionContext ec) |
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 |
---|---|
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).
|
void |
ConnectionManagerImpl.closeAllConnections(ConnectionFactory factory,
ExecutionContext ec)
Method to close all pooled connections for the specified key of the specified factory.
|
void |
ConnectionManager.closeAllConnections(ConnectionFactory factory,
ExecutionContext ec)
Method to close all pooled connections for the specified key of the specified factory.
|
ManagedConnection |
ConnectionFactory.createManagedConnection(ExecutionContext ec,
Map transactionOptions)
Create the ManagedConnection.
|
ManagedConnection |
ConnectionFactory.getConnection(ExecutionContext ec,
Transaction transaction,
Map options)
Obtain a connection from the Factory.
|
ManagedConnection |
AbstractConnectionFactory.getConnection(ExecutionContext ec,
Transaction txn,
Map options) |
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 | Method and Description |
---|---|
Object |
ObjectValueGenerator.generate(ExecutionContext ec,
Object obj,
ExtensionMetaData[] extensions)
Method that takes the object being persisted by the specified ExecutionContext
and generates a value (based on the contents of the object).
|
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) |
Query |
QueryManagerImpl.newQuery(String language,
ExecutionContext ec,
Object query) |
Query |
QueryManager.newQuery(String language,
ExecutionContext ec,
Object query)
Method to generate a new query using the passed query as basis.
|
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 |
---|---|
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 |
TransactionManager.begin(ExecutionContext ec) |
void |
TransactionManager.commit(ExecutionContext ec) |
Transaction |
TransactionManager.getTransaction(ExecutionContext ec) |
void |
TransactionManager.resume(ExecutionContext ec,
Transaction tx) |
void |
TransactionManager.rollback(ExecutionContext ec) |
void |
TransactionManager.setRollbackOnly(ExecutionContext ec) |
void |
TransactionManager.setTransactionTimeout(ExecutionContext ec,
int millis) |
Transaction |
TransactionManager.suspend(ExecutionContext ec) |
Modifier and Type | Method and Description |
---|---|
static Object |
TypeConversionHelper.getEnumFromValue(AbstractMemberMetaData mmd,
FieldRole role,
ExecutionContext ec,
long longValue)
Convenience method to get an Enum from its "value".
|
Constructor and Description |
---|
BeanValidatorHandler(ExecutionContext ec,
javax.validation.ValidatorFactory factory)
Constructor for a validation handler.
|
Copyright © 2017. All rights reserved.