A B C D E F G I J K L M N O P Q R S T U V

A

AbstractAnnotationReader - Class in org.datanucleus.metadata.annotations
Abstract implementation of a metadata annotations reader for JDK 1.5.
AbstractAnnotationReader(MetaDataManager) - Constructor for class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Constructor.
addExtensionsToMetaData(MetaData, Extension[]) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience method to add extensions to a metadata element.
addListener(Object, Class[]) - Method in class org.datanucleus.jpa.JPACallbackHandler
Adds a new listener to this handler.
allowDeleteOfNonPersistentObject() - Method in class org.datanucleus.jpa.JPAAdapter
Whether the API allows deletion of a non-persistent object.
allowPersistOfDeletedObject() - Method in class org.datanucleus.jpa.JPAAdapter
Whether the API allows (re-)persistence of a deleted object.
allowReadFieldOfDeletedObject() - Method in class org.datanucleus.jpa.JPAAdapter
Whether the API allows reading a field of a deleted object.
AnnotationManagerImpl - Class in org.datanucleus.metadata.annotations
Manager for annotations.
AnnotationManagerImpl(MetaDataManager) - Constructor for class org.datanucleus.metadata.annotations.AnnotationManagerImpl
Constructor.
AnnotationObject - Class in org.datanucleus.metadata.annotations
Wrapper for an annotation and its various properties etc.
AnnotationObject(String, HashMap<String, Object>) - Constructor for class org.datanucleus.metadata.annotations.AnnotationObject
Constructor.
AnnotationReader - Interface in org.datanucleus.metadata.annotations
Interface defining the access to MetaData derived from Annotations.
assertActive() - Method in class org.datanucleus.jpa.EntityTransactionImpl
Convenience method to throw an exception if the transaction is not active.
ASSOCIATION_OVERRIDE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ASSOCIATION_OVERRIDES - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ATTRIBUTE_OVERRIDE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ATTRIBUTE_OVERRIDES - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 

B

BASIC - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
begin() - Method in class org.datanucleus.jpa.EntityTransactionImpl
Start a resource transaction.

C

Cache - Interface in javax.persistence
Interface used to interact with the second-level cache.
CACHEABLE - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
CHECK_READ - Static variable in interface org.datanucleus.jpa.Persistable
 
CHECK_WRITE - Static variable in interface org.datanucleus.jpa.Persistable
 
clear() - Method in class org.datanucleus.jpa.EntityManagerImpl
Clear the persistence context, causing all managed entities to become detached.
clearLoadedFlagsOnDeleteObject() - Method in class org.datanucleus.jpa.JPAAdapter
Whether the API requires clearing of the fields of an object when it is deleted.
close() - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Method to close the factory.
close() - Method in class org.datanucleus.jpa.EntityManagerImpl
Close an application-managed EntityManager.
close() - Method in class org.datanucleus.jpa.JPACallbackHandler
Clear any objects to release resources.
COLLECTION_TABLE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
CollectionTable - Annotation Type in javax.persistence
 
COLUMN - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
COLUMN - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
COLUMNS - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
commit() - Method in class org.datanucleus.jpa.EntityTransactionImpl
Commit the current transaction, writing any unflushed changes to the database.
contains(Class, Object) - Method in interface javax.persistence.Cache
Whether the cache contains data for the given entity.
contains(Object) - Method in class org.datanucleus.jpa.EntityManagerImpl
Check if the instance belongs to the current persistence context.
contains(Class, Object) - Method in class org.datanucleus.jpa.JPADataStoreCache
Accessor for whether the object with specified PK is contained in the cache.
createContainerEntityManagerFactory(PersistenceUnitInfo, Map) - Method in class org.datanucleus.jpa.PersistenceProviderImpl
Method to create an EntityManagerFactory when running in J2EE.
createEntityManager() - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Method to create an entity manager.
createEntityManager(Map) - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Method to create an entity manager with the specified properties.
createEntityManagerFactory(String, Map) - Method in class org.datanucleus.jpa.PersistenceProviderImpl
Method to create an EntityManagerFactory when running in J2SE.
createNamedQuery(String) - Method in class org.datanucleus.jpa.EntityManagerImpl
Create an instance of Query for executing a named query (in JPQL or SQL).
createNativeQuery(String) - Method in class org.datanucleus.jpa.EntityManagerImpl
Create an instance of Query for executing an SQL statement.
createNativeQuery(String, Class) - Method in class org.datanucleus.jpa.EntityManagerImpl
Create an instance of Query for executing an SQL query.
createNativeQuery(String, String) - Method in class org.datanucleus.jpa.EntityManagerImpl
Create an instance of Query for executing an SQL query.
createQuery(String) - Method in class org.datanucleus.jpa.EntityManagerImpl
Create an instance of Query for executing a JPQL statement.

D

DATASTORE_IDENTITY - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
DATASTORE_IDENTITY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
DatastoreIdentity - Annotation Type in org.datanucleus.jpa.annotations
Extension annotation allowing for use of datastore-identity with JPA.
datastoreJavaType - Variable in class org.datanucleus.store.mapped.mapping.EnumMapping
 
DISCRIMINATOR - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
DISCRIMINATOR_COLUMN - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
DISCRIMINATOR_VALUE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 

E

ELEMENT - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
ELEMENT_COLLECTION - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ElementCollection - Annotation Type in javax.persistence
 
EMBEDDABLE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
EMBEDDED - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
EMBEDDED - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
EMBEDDED_ID - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
EMBEDDED_ONLY - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
emf - Variable in class org.datanucleus.jpa.EntityManagerImpl
Parent EntityManagerFactory.
endElement(String, String, String) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Handler method called at the end of an element.
ENTITY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ENTITY_LISTENERS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
EntityManagerFactoryImpl - Class in org.datanucleus.jpa
EntityManagerFactory implementation.
EntityManagerFactoryImpl() - Constructor for class org.datanucleus.jpa.EntityManagerFactoryImpl
Constructor.
EntityManagerFactoryImpl(PersistenceUnitInfo, Map) - Constructor for class org.datanucleus.jpa.EntityManagerFactoryImpl
Constructor when working in a J2EE environment.
EntityManagerFactoryImpl(String, Map) - Constructor for class org.datanucleus.jpa.EntityManagerFactoryImpl
Constructor when working in a J2SE environment.
EntityManagerImpl - Class in org.datanucleus.jpa
EntityManager implementation for JPA.
EntityManagerImpl(EntityManagerFactory, PersistenceManagerFactory, PersistenceContextType) - Constructor for class org.datanucleus.jpa.EntityManagerImpl
Constructor.
EntityTransactionImpl - Class in org.datanucleus.jpa
EntityTransaction implementation for JPA for ResourceLocal transaction.
EntityTransactionImpl(ObjectManager) - Constructor for class org.datanucleus.jpa.EntityTransactionImpl
Constructor.
ENUMERATED - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
EnumMapping - Class in org.datanucleus.store.mapped.mapping
Mapping for JDK1.5 Enum type.
EnumMapping() - Constructor for class org.datanucleus.store.mapped.mapping.EnumMapping
 
evict(Class, Object) - Method in interface javax.persistence.Cache
Remove the data for the given entity from the cache.
evict(Class) - Method in interface javax.persistence.Cache
Remove the data for entities of the specified class (and its subclasses) from the cache.
evict(Class) - Method in class org.datanucleus.jpa.JPADataStoreCache
Evict the parameter instance from the second-level cache.
evict(Class, Object) - Method in class org.datanucleus.jpa.JPADataStoreCache
Evict the parameter instance from the second-level cache.
evictAll() - Method in interface javax.persistence.Cache
Clear the cache.
evictAll() - Method in class org.datanucleus.jpa.JPADataStoreCache
Evict all instances from the second-level cache.
EXCLUDE_DEFAULT_LISTENERS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
EXCLUDE_SUPERCLASS_LISTENERS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
executeUpdate() - Method in class org.datanucleus.jpa.JPAQuery
Method to execute a (UPDATE/DELETE) query returning the number of changed records.
EXTENSION - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
Extension - Annotation Type in org.datanucleus.jpa.annotations
DataNucleus Extension to JPA.
EXTENSION - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
EXTENSIONS - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
Extensions - Annotation Type in org.datanucleus.jpa.annotations
Annotation defining a set of extensions to JPA.
EXTENSIONS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 

F

FETCHGROUP - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
FETCHGROUPS - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
FETCHPLAN - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
FETCHPLANS - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
find(Class, Object) - Method in class org.datanucleus.jpa.EntityManagerImpl
Method to find an object from its primary key.
flush() - Method in class org.datanucleus.jpa.EntityManagerImpl
Synchronize the persistence context to the underlying database.
flushMode - Variable in class org.datanucleus.jpa.EntityManagerImpl
The Flush Mode.
FOREIGNKEY - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
FOREIGNKEYS - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 

G

GENERATED_VALUE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
getAnnotationObjectsForAnnotations(String, Annotation[]) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Convenience method to convert an array of Annotation objects into an array of AnnotationObjects.
getCache() - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Accessor for the second level cache.
getClassAnnotationsForClass(Class) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method returning the annotations for the class.
getColumnMetaDataForAnnotations(MetaData, HashMap<String, Object>) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience method to get the column metadata for annotation values of a @Column.
getColumnMetaDataForColumn(MetaData, Column) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience method to get the column metadata for a Column annotation.
getDefaultCascadeDeleteForField() - Method in class org.datanucleus.jpa.JPAAdapter
Returns the default cascade-delete setting.
getDefaultCascadePersistForField() - Method in class org.datanucleus.jpa.JPAAdapter
Returns the default cascade-persist setting.
getDefaultCascadeRefreshForField() - Method in class org.datanucleus.jpa.JPAAdapter
Returns the default cascade-refresh setting.
getDefaultCascadeUpdateForField() - Method in class org.datanucleus.jpa.JPAAdapter
Returns the default cascade-update setting.
getDefaultFactoryProperties() - Method in class org.datanucleus.jpa.JPAAdapter
Method to return the default factory properties for this API.
getDelegate() - Method in class org.datanucleus.jpa.EntityManagerImpl
Return the underlying provider object for the EntityManager, if available.
getDiscriminatorStrategyString(DiscriminatorStrategy) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of a discriminator strategy.
getEntityManagerFactory() - Method in class org.datanucleus.jpa.EntityManagerImpl
Return the entity manager factory for the entity manager.
getExceptionForException(String, Exception) - Method in class org.datanucleus.jpa.JPAAdapter
Convenience method to return an exception to throw for this API when an unexpected exception occurs.
getFieldAnnotationsForClass(Class) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method returning a Map containing an array of the annotations for each field of the passed class, keyed by the field name.
getFieldPersistenceModifierString(PersistenceModifier) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of a persistence-modifier on a field.
getFirstResult() - Method in class org.datanucleus.jpa.JPAQuery
The position of the first result the query object was set to retrieve.
getFKMetaData(String, String, String, String, String, String, String[], Column[]) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience method to create a ForeignKeyMetaData from the annotations data.
getFlushMode() - Method in class org.datanucleus.jpa.EntityManagerImpl
Get the flush mode that applies to all objects contained in the persistence context.
getFlushMode() - Method in class org.datanucleus.jpa.JPAQuery
The flush mode in effect for the query execution.
getForeignKeyActionString(ForeignKeyAction) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of a FK action.
getGenericType() - Method in class org.datanucleus.metadata.annotations.Member
Accessor to the generic type
getHints() - Method in class org.datanucleus.jpa.JPAQuery
Get the hints and associated values that are in effect for the query instance.
getIdentityStrategyString(IdGeneratorStrategy) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of a id generator strategy (from JDO annotations).
getIdentityStrategyString(GenerationType) - Static method in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
Convenience accessor for the string name of a id generator strategy (from JPA annotations)
getIdentityTypeString(IdentityType) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of the identity type.
getIdForObject(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Method to return the object identity for the passed persistable object.
getIndexMetaData(String, String, String, String[], Column[]) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience method to create an IndexMetaData from the annotations data.
getInheritanceStrategyString(InheritanceStrategy) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of an inheritance strategy.
getInternalQuery() - Method in class org.datanucleus.jpa.JPAQuery
Accessor for the internal query.
getJavaBeanAccessorAnnotationsForClass(Class) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method returning a Map containing an array of the annotations for each Java Bean accessor method of the passed class, keyed by the method name.
getJavaType() - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
 
getJavaTypeForDatastoreMapping(int) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
Accessor for the name of the java-type actually used when mapping the particular datastore field.
getJDOImplHelper() - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Get the JDOImplHelper instance.
getJPAExceptionForJDOException(JDOException) - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Convenience method to convert a JDO exception into a JPA exception.
getJPAExceptionForNucleusException(NucleusException) - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Convenience method to convert a Nucleus exception into a JPA exception.
getKeyTypeForSingleFieldIdentityType(Class) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the type of the single field application-identity key given the single field identity type.
getLanguage() - Method in class org.datanucleus.jpa.JPAQuery
Accessor for the query language.
getLevel2Cache() - Method in class org.datanucleus.jpa.JPADataStoreCache
Accessor for the underlying Level 2 cache.
getLifeCycleState(int) - Method in class org.datanucleus.jpa.JPAAdapter
Returns the LifeCycleState for the state constant.
getLifeCycleState(int) - Static method in class org.datanucleus.jpa.state.LifeCycleStateFactory
Returns the LifeCycleState for the state constant.
getMaxResults() - Method in class org.datanucleus.jpa.JPAQuery
The maximum number of results the query object was set to retrieve.
getMetaDataForClass(Class, PackageMetaData, ClassLoaderResolver) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Accessor for the ClassMetaData for the specified class from its annotations.
getMetaDataForClass(Class, PackageMetaData, ClassLoaderResolver) - Method in class org.datanucleus.metadata.annotations.AnnotationManagerImpl
Accessor for the MetaData for the specified class, read from annotations.
getMetaDataForClass(Class, PackageMetaData, ClassLoaderResolver) - Method in interface org.datanucleus.metadata.annotations.AnnotationReader
Method to get the ClassMetaData for a class from its annotations.
getMetaDataForClassInternal(Class, ClassLoaderResolver) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataManager
Accessor for the JPA MetaData for a class.
getMethodAnnotationsForClass(Class) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method returning a Map containing an array of the annotations for each method of the passed class, keyed by the method name.
getModifiers() - Method in class org.datanucleus.metadata.annotations.Member
Accessor to the field / method modifiers
getName() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the name of the API.
getName() - Method in class org.datanucleus.metadata.annotations.AnnotationObject
Accessor for the annotation class name
getName() - Method in class org.datanucleus.metadata.annotations.Member
Field name or Method name (without get/set/is prefix)
getNamedParameters() - Method in class org.datanucleus.jpa.JPAQuery
Get the parameters names and associated values of the parameters that are bound for the query instance.
getNameValueMap() - Method in class org.datanucleus.metadata.annotations.AnnotationObject
Accessor for the annotation properties map
getNewApplicationIdentityObjectId(ClassLoaderResolver, AbstractClassMetaData, String) - Method in class org.datanucleus.jpa.JPAAdapter
Utility to create a new application identity when you know the metadata for the target class, and the toString() output of the identity.
getNewApplicationIdentityObjectId(Object, AbstractClassMetaData) - Method in class org.datanucleus.jpa.JPAAdapter
Method to create a new object identity for the passed object with the supplied MetaData.
getNewApplicationIdentityObjectId(Class, Object) - Method in class org.datanucleus.jpa.JPAAdapter
Method to return a new object identity for the specified class, and key (possibly toString() output).
getNewSingleFieldIdentity(Class, Class, Object) - Method in class org.datanucleus.jpa.JPAAdapter
Utility to create a new SingleFieldIdentity using reflection when you know the type of the PersistenceCapable, and also which SingleFieldIdentity, and the value of the key.
getNullValueString(NullValue) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of a null value action.
getObject(ObjectManager, Object, int[]) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
Method to extract the Enum object from the passed result set.
getObjectId(StateManager) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the object id from the StateManager for this object.
getObjectManager() - Method in class org.datanucleus.jpa.EntityManagerImpl
Accessor for the underlying ObjectManager providing persistence capability.
getObjectManager(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Method to return the ObjectManager (if any) associated with the passed object.
getObjectState(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the object state.
getObjectState(Object) - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Convenience method to return a string of the state of an object.
getPersistenceManager(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the persistence manager for this object.
getPositionalParameters() - Method in class org.datanucleus.jpa.JPAQuery
Get the values of the positional parameters that are bound for the query instance.
getProperties() - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Get the properties and associated values that are in effect for the entity manager factory.
getQueryLanguageName(String) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the query language to a valid internal value.
getReference(Class, Object) - Method in class org.datanucleus.jpa.EntityManagerImpl
Get an instance, whose state may be lazily fetched.
getResultList() - Method in class org.datanucleus.jpa.JPAQuery
Method to execute a (SELECT) query statement returning multiple results.
getRollbackOnly() - Method in class org.datanucleus.jpa.EntityTransactionImpl
Determine whether the current transaction has been marked for rollback.
getSampleValue(ClassLoaderResolver) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
 
getSequenceStrategyString(SequenceStrategy) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of a datastore sequence strategy.
getSingleFieldIdentityClassNameForByte() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the class name to use for identities when there is a single Byte/byte field.
getSingleFieldIdentityClassNameForChar() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the class name to use for identities when there is a single Character/char field.
getSingleFieldIdentityClassNameForInt() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the class name to use for identities when there is a single Integer/int field.
getSingleFieldIdentityClassNameForLong() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the class name to use for identities when there is a single Long/long field.
getSingleFieldIdentityClassNameForObject() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the class name to use for identities when there is a single Object field.
getSingleFieldIdentityClassNameForShort() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the class name to use for identities when there is a single Short/short field.
getSingleFieldIdentityClassNameForString() - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the class name to use for identities when there is a single String field.
getSingleResult() - Method in class org.datanucleus.jpa.JPAQuery
Method to execute a SELECT statement returning a single result.
getSupportedAnnotationPackages() - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method to set the valid annotation packages to be supported when reading.
getSupportedAnnotationPackages() - Method in interface org.datanucleus.metadata.annotations.AnnotationReader
Accessor for the annotations packages supported by this reader.
getSupportedHints() - Method in class org.datanucleus.jpa.JPAQuery
Get the names of the hints that are supported for query objects.
getSupportedProperties() - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Get the names of the properties that are supported for use with the entity manager factory.
getTargetClassForSingleFieldIdentity(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the target class for the specified single field application-identity.
getTargetClassNameForSingleFieldIdentity(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the target class name for the specified single field identity.
getTargetKeyForSingleFieldIdentity(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the key object for the specified single field application-identity.
getTransaction() - Method in class org.datanucleus.jpa.EntityManagerImpl
Return the resource-level transaction object.
getType() - Method in class org.datanucleus.metadata.annotations.Member
Accessor to the field or method return type.
getUniqueMetaData(String, String, String, String[], Column[]) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience method to create a UniqueMetaData from the annotations data.
getValidValues(int) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
Accessor for the valid values for this mapping (if any restriction is imposed).
getVersion(StateManager) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for the version from the StateManager for this object.
getVersionForObject(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Method to return the object version for the passed persistable object.
getVersionStrategyString(VersionStrategy) - Static method in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
Convenience accessor for the string name of a version strategy.

I

ID - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ID_CLASS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
INDEX - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
INDICES - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
INHERITANCE - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
INHERITANCE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
initialisePMF(PersistenceUnitMetaData, Map) - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Method to initialise a PersistenceManagerFactory that will control the persistence.
initialize(DatastoreAdapter, AbstractMemberMetaData, DatastoreContainerObject, ClassLoaderResolver) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
Initialize this JavaTypeMapping with the given DatastoreAdapter for the given FieldMetaData.
isActive() - Method in class org.datanucleus.jpa.EntityTransactionImpl
Indicate whether a transaction is in progress.
isBasicByDefault(Class) - Static method in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
Whether the given type has by default "basic" semantics.
isClassPersistenceCapable(Class) - Method in class org.datanucleus.jpa.metadata.JPAAnnotationReader
Check if class is persistence capable, by looking at annotations
isContainerManaged() - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Accessor for whether the EMF is managed by a container.
isDeleted(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether the passed object is deleted.
isDeleted(Object) - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Convenience accessor for whether the object is deleted.
isDetachable(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Method to return if the passed object is detachable using this API.
isDetached(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether the passed object is detached.
isDetached(Object) - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Convenience accessor for whether the object is detached.
isDirty(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether the passed object is dirty.
isLoaded(StateManager, int) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether a field is loaded for the object managed by the StateManager
isNew(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether the passed object is new.
isOpen() - Method in class org.datanucleus.jpa.EntityManagerFactoryImpl
Accessor for whether the factory is open
isOpen() - Method in class org.datanucleus.jpa.EntityManagerImpl
Determine whether the EntityManager is open.
isPersistable(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Method to return if the passed object is persistable using this API.
isPersistable(Class) - Method in class org.datanucleus.jpa.JPAAdapter
Utility method to check if the specified class is of a type that can be persisted for this API.
isPersistent(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether the passed object is persistent.
isPersistent(Object) - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Convenience accessor for whether the object is persistent.
isProperty() - Method in class org.datanucleus.metadata.annotations.Member
If this class is a field or method (property).
isSingleFieldIdentity(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether the passed identity is a valid single-field application-identity for this API.
isSingleFieldIdentityClass(String) - Method in class org.datanucleus.jpa.JPAAdapter
Checks whether the passed class name is valid for a single field application-identity for this API.
isSupportedAnnotation(String) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Convenience method to check whether an annotation class name is supported by this reader.
isTemporalType(Class) - Static method in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
Whether the given type is temporal for JPA.
isTransactional(Object) - Method in class org.datanucleus.jpa.JPAAdapter
Accessor for whether the passed object is transactional.
isTransactional(Object) - Static method in class org.datanucleus.jpa.NucleusJPAHelper
Convenience accessor for whether the object is transactional.
isValidPrimaryKeyClass(Class, AbstractClassMetaData, ClassLoaderResolver, int) - Method in class org.datanucleus.jpa.JPAAdapter
Utility to check if a primary-key class is valid.

J

javax.persistence - package javax.persistence
 
JAVAX_JDO_SPI_PERSISTENCE_CAPABLE - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.jpa.Persistable
JDOAnnotationReader - Class in org.datanucleus.jdo.metadata
Implementation for Annotation Reader for JDK 1.5 annotations using the JDO 2.1 definition.
JDOAnnotationReader(MetaDataManager) - Constructor for class org.datanucleus.jdo.metadata.JDOAnnotationReader
Constructor.
JDOAnnotationUtils - Class in org.datanucleus.jdo.metadata
Series of utility methods for converting between annotations and metadata.
JDOAnnotationUtils() - Constructor for class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
JOIN - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
JOIN_COLUMN - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
JOIN_COLUMNS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
JOIN_TABLE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
JOINS - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
joinTransaction() - Method in class org.datanucleus.jpa.EntityManagerImpl
Indicate to the EntityManager that a JTA transaction is active.
JPA_IDENTITY_BYTE_IDENTITY - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.identity.ByteIdentity
JPA_IDENTITY_CHAR_IDENTITY - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.identity.CharIdentity
JPA_IDENTITY_INT_IDENTITY - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.identity.IntIdentity
JPA_IDENTITY_LONG_IDENTITY - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.identity.LongIdentity
JPA_IDENTITY_OBJECT_IDENTITY - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.identity.ObjectIdentity
JPA_IDENTITY_SHORT_IDENTITY - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.identity.ShortIdentity
JPA_IDENTITY_STRING_IDENTITY - Static variable in class org.datanucleus.jpa.JPAClassNameConstants
org.datanucleus.identity.StringIdentity
JPAAdapter - Class in org.datanucleus.jpa
Adapter for the JPA API, to allow the DataNucleus core runtime to expose multiple APIs to clients.
JPAAdapter() - Constructor for class org.datanucleus.jpa.JPAAdapter
 
JPAAnnotationReader - Class in org.datanucleus.jpa.metadata
Implementation for Annotation Reader for JDK 1.5 annotations using JPA's definition.
JPAAnnotationReader(MetaDataManager) - Constructor for class org.datanucleus.jpa.metadata.JPAAnnotationReader
Constructor.
JPAAnnotationUtils - Class in org.datanucleus.jpa.metadata
Series of utility methods for converting between JPA annotations and metadata.
JPAAnnotationUtils() - Constructor for class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
JPACallbackHandler - Class in org.datanucleus.jpa
CallbackHandler implementation for JPA.
JPACallbackHandler() - Constructor for class org.datanucleus.jpa.JPACallbackHandler
 
JPAClassNameConstants - Class in org.datanucleus.jpa
Class providing names of common classes used by JPA to aid performance.
JPAClassNameConstants() - Constructor for class org.datanucleus.jpa.JPAClassNameConstants
 
JPAClassTransformer - Class in org.datanucleus.jpa
ClassTransformer for runtime enhancement of classes to the JPA interface.
JPAClassTransformer() - Constructor for class org.datanucleus.jpa.JPAClassTransformer
 
JPADataStoreCache - Class in org.datanucleus.jpa
Implementation of the JPA DataStoreCache.
JPADataStoreCache(Level2Cache) - Constructor for class org.datanucleus.jpa.JPADataStoreCache
Constructor.
JPAEntityResolver - Class in org.datanucleus.jpa.metadata
Implementation of an entity resolver for JPA metadata files.
JPAEntityResolver() - Constructor for class org.datanucleus.jpa.metadata.JPAEntityResolver
 
JPAMetaDataHandler - Class in org.datanucleus.jpa.metadata
Parser handler for JPA MetaData.
JPAMetaDataHandler(MetaDataManager, String, EntityResolver) - Constructor for class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Constructor.
JPAMetaDataManager - Class in org.datanucleus.jpa.metadata
Manager of JPA MetaData information in DataNucleus.
JPAMetaDataManager(OMFContext) - Constructor for class org.datanucleus.jpa.metadata.JPAMetaDataManager
Constructor.
JPAPropertyValidator - Class in org.datanucleus.jpa
Validator for persistence properties used by JPA.
JPAPropertyValidator() - Constructor for class org.datanucleus.jpa.JPAPropertyValidator
 
JPAQuery - Class in org.datanucleus.jpa
Basic implementation of a JPA Query.
JPAQuery(EntityManager, Query, String) - Constructor for class org.datanucleus.jpa.JPAQuery
Constructor for a query used by JPA.
jpoxCopyFields(Object, int[]) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxCopyKeyFieldsFromObjectId(FieldConsumer, Object) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxCopyKeyFieldsToObjectId(Object) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxCopyKeyFieldsToObjectId(FieldSupplier, Object) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxGetObjectId() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxGetStateManager() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxGetTransactionalObjectId() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxGetVersion() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxIsDeleted() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxIsDetached() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxIsDirty() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxIsNew() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxIsPersistent() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxIsTransactional() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxMakeDirty(String) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxNewInstance(StateManager) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxNewInstance(StateManager, Object) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxNewObjectIdInstance() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxNewObjectIdInstance(Object) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxProvideField(int) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxProvideFields(int[]) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxReplaceDetachedState() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxReplaceField(int) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxReplaceFields(int[]) - Method in interface org.datanucleus.jpa.Persistable
 
jpoxReplaceFlags() - Method in interface org.datanucleus.jpa.Persistable
 
jpoxReplaceStateManager(StateManager) - Method in interface org.datanucleus.jpa.Persistable
 

K

KEY - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 

L

LifeCycleStateFactory - Class in org.datanucleus.jpa.state
Factory for life cycle states
LifeCycleStateFactory() - Constructor for class org.datanucleus.jpa.state.LifeCycleStateFactory
 
LOAD_REQUIRED - Static variable in interface org.datanucleus.jpa.Persistable
 
LOB - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
LOCALISER - Static variable in class org.datanucleus.jpa.EntityManagerFactoryImpl
Localiser for messages.
LOCALISER - Static variable in class org.datanucleus.jpa.EntityManagerImpl
Localisation utility for output messages
LOCALISER - Static variable in class org.datanucleus.jpa.EntityTransactionImpl
Localisation utility for output messages
LOCALISER - Static variable in class org.datanucleus.jpa.JPAAdapter
 
LOCALISER - Static variable in class org.datanucleus.jpa.JPAQuery
Localisation utility for output messages
LOCALISER - Static variable in class org.datanucleus.jpa.NucleusJPAHelper
Localisation utility for output messages
LOCALISER - Static variable in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Localiser for messages
LOCALISER - Static variable in class org.datanucleus.metadata.annotations.AnnotationManagerImpl
Localiser for messages
lock(Object, LockModeType) - Method in class org.datanucleus.jpa.EntityManagerImpl
Set the lock mode for an entity object contained in the persistence context.

M

makeFieldDirty(Object, String) - Method in class org.datanucleus.jpa.JPAAdapter
Method to make the field dirty in the object.
MANY_TO_MANY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
MANY_TO_ONE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
MAP_KEY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
MAPPED_SUPERCLASS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
MEDIATE_READ - Static variable in interface org.datanucleus.jpa.Persistable
 
MEDIATE_WRITE - Static variable in interface org.datanucleus.jpa.Persistable
 
Member - Class in org.datanucleus.metadata.annotations
Wrapper for a field or a method (property) that is annotated.
Member(Field) - Constructor for class org.datanucleus.metadata.annotations.Member
Constructor.
Member(Method) - Constructor for class org.datanucleus.metadata.annotations.Member
Constructor.
merge(Object) - Method in class org.datanucleus.jpa.EntityManagerImpl
Merge the state of the given entity into the current persistence context.
metadataMgr - Variable in class org.datanucleus.metadata.annotations.AnnotationManagerImpl
MetaData Manager that we work for.
mgr - Variable in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Manager for MetaData operations

N

NAMED_NATIVE_QUERIES - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
NAMED_NATIVE_QUERY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
NAMED_QUERIES - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
NAMED_QUERY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
newClassObject(PackageMetaData, Attributes, boolean) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Utility to create a new class component.
newFieldObject(AbstractClassMetaData, Attributes) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Utility to create a new field/property component and add it to the class as required.
newLiteral(QueryExpression, Object) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
 
newOverriddenFieldObject(MetaData, Attributes) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Utility to create a new field entry for a field/property in a superclass.
newPKFieldObject(AbstractClassMetaData, Attributes) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Utility to create a new primary key field/property component.
newScalarExpression(QueryExpression, LogicSetExpression) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
 
newStateManager(ObjectManager, AbstractClassMetaData) - Method in class org.datanucleus.jpa.JPAAdapter
Method to create a new StateManager for the ObjectManager and class.
newTransientFieldObject(MetaData, String) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Utility to create a new transient field/property component.
NoPersistenceUnitException - Exception in org.datanucleus.jpa.exceptions
Exception thrown when trying to create an EntityManagerFactory for a persistence-unit and we cant find a "persistence-unit" of the specified name.
NoPersistenceUnitException(String) - Constructor for exception org.datanucleus.jpa.exceptions.NoPersistenceUnitException
 
NoPersistenceXmlException - Exception in org.datanucleus.jpa.exceptions
Exception thrown when trying to create an EntityManagerFactory for a persistence-unit and we cant find any "persistence.xml" files.
NoPersistenceXmlException(String) - Constructor for exception org.datanucleus.jpa.exceptions.NoPersistenceXmlException
 
NOTPERSISTENT - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
NotProviderException - Exception in org.datanucleus.jpa.exceptions
Exception thrown when trying to create an EntityManagerFactory for a persistence-unit and we are not the required provider.
NotProviderException(String) - Constructor for exception org.datanucleus.jpa.exceptions.NotProviderException
 
NucleusJPAHelper - Class in org.datanucleus.jpa
Helper for persistence operations with JPA1.
NucleusJPAHelper() - Constructor for class org.datanucleus.jpa.NucleusJPAHelper
 

O

om - Variable in class org.datanucleus.jpa.EntityManagerImpl
The underlying ObjectManager managing the persistence.
ONE_TO_MANY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ONE_TO_ONE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
ORDER - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
ORDER_BY - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
org.datanucleus.jdo.metadata - package org.datanucleus.jdo.metadata
Package providing classes specific to processing of JDO XML MetaData and annotations, building on the generic code under the package org.datanucleus.metadata
org.datanucleus.jpa - package org.datanucleus.jpa
Package containing the entry point for the JPOX implementation of the JPA1 specification
org.datanucleus.jpa.annotations - package org.datanucleus.jpa.annotations
Package containing JPOX annotations for persistence to extend JPA where it ignores some JDO concepts.
org.datanucleus.jpa.exceptions - package org.datanucleus.jpa.exceptions
Package containing exceptions for JPOXs JPA1 implementation
org.datanucleus.jpa.metadata - package org.datanucleus.jpa.metadata
Package providing classes specific to processing of JPA XML MetaData and annotations, building on the generic code under the package org.datanucleus.metadata
org.datanucleus.jpa.state - package org.datanucleus.jpa.state
Definition of lifecycle states when providing JPA persistence
org.datanucleus.metadata.annotations - package org.datanucleus.metadata.annotations
Package containing classes for converting JDK 1.5 annotations into MetaData definitions.
org.datanucleus.store.mapped.mapping - package org.datanucleus.store.mapped.mapping
Package containing mappings for Java types for mapped datastores (e.g RDBMS).

P

parseFile(URL) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataManager
Utility to parse a file, using the "jpa" MetaData handler.
persist(Object) - Method in class org.datanucleus.jpa.EntityManagerImpl
Make an instance managed and persistent.
Persistable - Interface in org.datanucleus.jpa
Standard interface that any class that is persistable should implement when not using JDO.
PERSISTENCE_AWARE - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
PERSISTENCE_AWARE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
PERSISTENCE_CAPABLE - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
PersistenceAware - Annotation Type in org.datanucleus.jpa.annotations
Annotation for marking a class as "persistence-aware".
persistenceContextType - Variable in class org.datanucleus.jpa.EntityManagerImpl
Type of Persistence Context
PersistenceProviderImpl - Class in org.datanucleus.jpa
PersistenceProvider implementation.
PersistenceProviderImpl() - Constructor for class org.datanucleus.jpa.PersistenceProviderImpl
Constructor.
PERSISTENT - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
pm - Variable in class org.datanucleus.jpa.EntityManagerImpl
Underlying PersistenceManager that provides the persistence capability.
postAttach(Object, Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the object is attached.
postClear(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the fields of the object are cleared.
postCreate(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the object has been created.
postDelete(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the object is deleted.
postDetach(Object, Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the object is detached.
postDirty(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the object is made dirty.
postLoad(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the fields of the object are loaded.
postRefresh(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the fields of the object are refreshed.
postStore(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback after the object is stored.
preAttach(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback before the object is attached.
preClear(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback before the fields of the object are cleared.
preDelete(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback before the object is deleted (after calling remove() but before the lifecycle state change).
preDetach(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback before the object is detached.
preDirty(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback before the object is made dirty.
prePersist(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback before the object is persisted (just before the lifecycle state change).
preStore(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Callback before the object is stored.
PRIMARY_KEY - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
PRIMARY_KEY_JOIN_COLUMN - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
PRIMARY_KEY_JOIN_COLUMNS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
processClassAnnotations(PackageMetaData, Class, AnnotationObject[], ClassLoaderResolver) - Method in class org.datanucleus.jdo.metadata.JDOAnnotationReader
Method to process the "class" level annotations and create the outline ClassMetaData object
processClassAnnotations(PackageMetaData, Class, AnnotationObject[], ClassLoaderResolver) - Method in class org.datanucleus.jpa.metadata.JPAAnnotationReader
Method to process the "class" level annotations and create the outline ClassMetaData object
processClassAnnotations(PackageMetaData, Class, AnnotationObject[], ClassLoaderResolver) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method to process the "class" level annotations and create the outline ClassMetaData object.
processMemberAnnotations(AbstractClassMetaData, Member, AnnotationObject[], boolean) - Method in class org.datanucleus.jdo.metadata.JDOAnnotationReader
Convenience method to process the annotations for a field/property.
processMemberAnnotations(AbstractClassMetaData, Member, AnnotationObject[], boolean) - Method in class org.datanucleus.jpa.metadata.JPAAnnotationReader
Convenience method to process the annotations for a field/property.
processMemberAnnotations(AbstractClassMetaData, Member, AnnotationObject[], boolean) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method to take the passed in outline ClassMetaData and process the annotations for fields/properties adding any necessary FieldMetaData/PropertyMetaData to the ClassMetaData.
processMethodAnnotations(AbstractClassMetaData, Method) - Method in class org.datanucleus.jdo.metadata.JDOAnnotationReader
Method to take the passed in outline ClassMetaData and process the annotations for method adding any necessary MetaData to the ClassMetaData.
processMethodAnnotations(AbstractClassMetaData, Method) - Method in class org.datanucleus.jpa.metadata.JPAAnnotationReader
Method to take the passed in outline ClassMetaData and process the annotations for method adding any necessary MetaData to the ClassMetaData.
processMethodAnnotations(AbstractClassMetaData, Method) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method to take the passed in outline ClassMetaData and process the annotations for method adding any necessary MetaData to the ClassMetaData.

Q

QUERIES - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
QUERY - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 

R

READ_OK - Static variable in interface org.datanucleus.jpa.Persistable
 
READ_WRITE_OK - Static variable in interface org.datanucleus.jpa.Persistable
 
refresh(Object) - Method in class org.datanucleus.jpa.EntityManagerImpl
Refresh the state of the instance from the database, overwriting changes made to the entity, if any.
registerFile(String, FileMetaData, ClassLoaderResolver) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataManager
Method to take the FileMetaData and register the relevant parts of it with the various convenience collections/maps that we use for access.
remove(Object) - Method in class org.datanucleus.jpa.EntityManagerImpl
Remove the entity instance.
removeListener(Object) - Method in class org.datanucleus.jpa.JPACallbackHandler
Remove a listener for this handler.
rollback() - Method in class org.datanucleus.jpa.EntityTransactionImpl
Roll back the current transaction.

S

SECONDARY_TABLE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
SECONDARY_TABLES - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
SEQUENCE - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
SEQUENCE_GENERATOR - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
SERIALIZABLE - Static variable in interface org.datanucleus.jpa.Persistable
 
SERIALIZED - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
setFirstResult(int) - Method in class org.datanucleus.jpa.JPAQuery
Method to set the results to start from a particular position.
setFlushMode(FlushModeType) - Method in class org.datanucleus.jpa.EntityManagerImpl
Set the flush mode that applies to all objects contained in the persistence context.
setFlushMode(FlushModeType) - Method in class org.datanucleus.jpa.JPAQuery
Mutator for the flush mode.
setHint(String, Object) - Method in class org.datanucleus.jpa.JPAQuery
Method to add a vendor extension to the query.
setMaxResults(int) - Method in class org.datanucleus.jpa.JPAQuery
Method to set the max number of results to return.
setObject(ObjectManager, Object, int[], Object) - Method in class org.datanucleus.store.mapped.mapping.EnumMapping
Method to set the Enum in the datastore statement.
setOption(String, int) - Method in class org.datanucleus.jpa.EntityTransactionImpl
Convenience accessor for setting a transaction option.
setOption(String, boolean) - Method in class org.datanucleus.jpa.EntityTransactionImpl
Convenience accessor for setting a transaction option.
setOption(String, String) - Method in class org.datanucleus.jpa.EntityTransactionImpl
Convenience accessor for setting a transaction option.
setParameter(String, Object) - Method in class org.datanucleus.jpa.JPAQuery
Bind an argument to a named parameter.
setParameter(int, Object) - Method in class org.datanucleus.jpa.JPAQuery
Bind an argument to a positional parameter.
setParameter(String, Date, TemporalType) - Method in class org.datanucleus.jpa.JPAQuery
Bind an instance of java.util.Date to a named parameter.
setParameter(String, Calendar, TemporalType) - Method in class org.datanucleus.jpa.JPAQuery
Bind an instance of java.util.Calendar to a named parameter.
setParameter(int, Date, TemporalType) - Method in class org.datanucleus.jpa.JPAQuery
Bind an instance of java.util.Date to a positional parameter.
setParameter(int, Calendar, TemporalType) - Method in class org.datanucleus.jpa.JPAQuery
Bind an instance of java.util.Calendar to a positional parameter.
setRollbackOnly() - Method in class org.datanucleus.jpa.EntityTransactionImpl
Mark the current transaction so that the only possible outcome of the transaction is for the transaction to be rolled back.
setSupportedAnnotationPackages(String[]) - Method in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Method to set the valid annotation packages to be supported when reading.
SQL_RESULTSET_MAPPING - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
SQL_RESULTSET_MAPPINGS - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
startElement(String, String, String, Attributes) - Method in class org.datanucleus.jpa.metadata.JPAMetaDataHandler
Handler method called at the start of an element.
supportedPackages - Variable in class org.datanucleus.metadata.annotations.AbstractAnnotationReader
Supported annotations packages.

T

TABLE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
TABLE_GENERATOR - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
TEMPORAL_TYPE - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
TRANSACTIONAL - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
TRANSIENT - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 
tx - Variable in class org.datanucleus.jpa.EntityManagerImpl
Current Transaction (when using ResourceLocal).

U

UNIQUE - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
UNIQUES - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 

V

validate(String, Object) - Method in class org.datanucleus.jpa.JPAPropertyValidator
Validate the specified property.
VALUE - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
VERSION - Static variable in class org.datanucleus.jdo.metadata.JDOAnnotationUtils
 
VERSION - Static variable in class org.datanucleus.jpa.metadata.JPAAnnotationUtils
 

A B C D E F G I J K L M N O P Q R S T U V

Copyright © 2009. All Rights Reserved.