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

A

addAggregateListener(AggregateListener) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Register an aggregate listener for the query.
addAggregateListener(AggregateListener) - Method in class org.apache.openjpa.persistence.QueryImpl
 
addAll(MetaDataRepository) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Add all components in the given repository to the set to be serialized.
addClassMappingAttributes(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Add mapping attributes for the given class.
addFetchGroup(String) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds group to the set of fetch group to use when loading objects.
addFetchGroups(String...) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds groups to the set of fetch group names to use when loading objects.
addFetchGroups(Collection) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds groups to the set of fetch group names to use when loading objects.
addField(String) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds field to the set of fully-qualified field names to use when loading objects.
addField(Class, String) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds field to the set of field names to use when loading objects.
addFieldMappingAttributes(FieldMetaData, FieldMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Add mapping attributes for the given field.
addFields(String...) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds fields to the set of fully-qualified field names to use when loading objects.
addFields(Class, String...) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds fields to the set of field names to use when loading objects.
addFields(Collection) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds fields to the set of fully-qualified field names to use when loading objects.
addFields(Class, Collection) - Method in class org.apache.openjpa.persistence.FetchPlan
Adds fields to the set of field names to use when loading objects.
addFilterListener(FilterListener) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Register a filter listener for the query.
addFilterListener(FilterListener) - Method in class org.apache.openjpa.persistence.QueryImpl
 
addJarFile(URL) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
addJarFileName(String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
addLifecycleListener(Object, Class...) - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
addLifecycleListener(Object, Class...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
addLifecycleListener(Object, Class...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Register a listener for lifecycle-related events on the specified classes.
addLifecycleListener(Object, Class...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Register a listener for lifecycle-related events on the specified classes.
addManagedClassName(String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
addMappingFileName(String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
addMetaData(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Add a class meta data to the set to be serialized.
addQueryMetaData(QueryMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Add a query meta data to the set to be serialized.
addSequenceMetaData(SequenceMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Add a sequence meta data to the set to be serialized.
addStrategyMappingAttributes(FieldMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Set mapping attributes for strategy.
addSystemMappingElements(Collection) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Add system-level mapping elements to be serialized.
addTransactionListener(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
addTransactionListener(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Register a listener for transaction-related events.
addTransformer(ClassTransformer) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
afterSpecificationSet(OpenJPAConfiguration) - Method in class org.apache.openjpa.persistence.PersistenceProductDerivation
 
ALIAS_EJB - Static variable in class org.apache.openjpa.persistence.PersistenceProductDerivation
 
allocate(int) - Method in class org.apache.openjpa.persistence.Generator
Hint to the sequence to allocate additional values up-front for efficiency.
AnnotationPersistenceMetaDataParser - Class in org.apache.openjpa.persistence
Persistence annotation metadata parser.
AnnotationPersistenceMetaDataParser(OpenJPAConfiguration) - Constructor for class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Constructor; supply configuration.
ArgumentException - Exception in org.apache.openjpa.persistence
Extended IllegalArgumentException.
ArgumentException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.ArgumentException
 

B

beforeConfigurationConstruct(ConfigurationProvider) - Method in class org.apache.openjpa.persistence.PersistenceProductDerivation
 
beforeConfigurationLoad(OpenJPAConfiguration) - Method in class org.apache.openjpa.persistence.PersistenceProductDerivation
 
begin() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
beginStore() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
beginStore() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Begins a store transaction if one isn't already started.

C

cancelAll() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
cancelAll() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Cancel all pending data store statements.
cast(EntityManagerFactory) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return the OpenJPA facade to the given entity manager factory.
cast(EntityManager) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return the OpenJPA facade to the given entity manager.
cast(Query) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return the OpenJPA facade to the given query.
classForName(String) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Instantiate the given class, taking into account the default package.
clear() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Clear caches.
clear() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
clear() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
clear() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Clear the set of metadatas to be serialized.
clearFetchGroups() - Method in class org.apache.openjpa.persistence.FetchPlan
Clears the set of fetch group names to use wen loading data.
clearFields() - Method in class org.apache.openjpa.persistence.FetchPlan
Clears the set of field names to use wen loading data.
close() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
close() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
close(Object) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Close the given resource.
closeAll() - Method in class org.apache.openjpa.persistence.Extent
Close all open iterators that are consuming database resources.
closeAll() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Close all open query results.
closeAll() - Method in class org.apache.openjpa.persistence.QueryImpl
 
commit() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
commitAndResume() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
commitAndResume() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Issue a commit and then start a new transaction.
compare(Object, Object) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.SerializationComparator
 
compareUnknown(Object, Object) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.SerializationComparator
Compare two unrecognized elements of the same type.
compile() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Compile the query.
compile() - Method in class org.apache.openjpa.persistence.QueryImpl
 
ConfigurationProviderImpl - Class in org.apache.openjpa.persistence
Configuration provider capable of loading a Configuration from the current environment's JPA-style XML configuration data.
ConfigurationProviderImpl() - Constructor for class org.apache.openjpa.persistence.ConfigurationProviderImpl
 
contains(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
contains(Class, Object) - Method in class org.apache.openjpa.persistence.StoreCache
Whether the cache contains data for the given oid.
containsAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
containsAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
containsAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether the given objects are managed.
containsAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether the given objects are managed.
containsAll(Class, Object...) - Method in class org.apache.openjpa.persistence.StoreCache
Whether the cache contains data for the given oids.
containsAll(Class, Collection) - Method in class org.apache.openjpa.persistence.StoreCache
Whether the cache contains data for the given oids.
createContainerEntityManagerFactory(PersistenceUnitInfo, Map) - Method in class org.apache.openjpa.persistence.PersistenceProviderImpl
 
createEntityManager() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
createEntityManager(Map) - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
createEntityManager() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
 
createEntityManager(Map) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Return an entity manager with the provided additional configuration settings.
createEntityManagerFactory(String, String) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns a new OpenJPAEntityManagerFactory specified by name in an XML configuration file at the resource location resource.
createEntityManagerFactory(String, String, Map) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns a new OpenJPAEntityManagerFactory specified by name in an XML configuration file at the resource location resource, applying the properties specified in map as overrides.
createEntityManagerFactory(String, Context) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns the EntityManagerFactory at the JNDI location specified by jndiLocation in the context context.
createEntityManagerFactory(String, String, Map) - Method in class org.apache.openjpa.persistence.PersistenceProviderImpl
Loads the entity manager specified by name, applying the properties in m as overrides to the properties defined in the XML configuration file for name.
createEntityManagerFactory(String, Map) - Method in class org.apache.openjpa.persistence.PersistenceProviderImpl
 
createExtent(Class<T>, boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createExtent(Class<T>, boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return an extent of the given class, optionally including subclasses.
createInstance(Class<T>) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createInstance(Class<T>) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Create a new instance of type cls.
createInteraction() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createNamedQuery(String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createNamedQuery(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
 
createNativeQuery(String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createNativeQuery(String, Class) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createNativeQuery(String, String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createNativeQuery(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
 
createNativeQuery(String, Class) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
 
createNativeQuery(String, String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
 
createQuery(String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createQuery(String, String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createQuery(Query) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
createQuery(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
 
createQuery(Query) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Create a new query from the given one.
createQuery(String, String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Create a new query in the given language.
current() - Method in class org.apache.openjpa.persistence.Generator
The current sequence value, or null if the sequence does not support current values.
currentElement() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Return the current element being parsed.
currentParent() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Return the tag of the current parent element.
currentStrategy() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Return the current PersistenceStrategy if any.

D

DataCache - Annotation Type in org.apache.openjpa.persistence
Caching characteristics for this class.
DataStoreId - Annotation Type in org.apache.openjpa.persistence
Describes how to generate a value for a field.
DEFAULT - Static variable in class org.apache.openjpa.persistence.FetchPlan
Constant to revert any setting to its default value.
defaultSourceFile(ClassMetaData) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
defaultSourceFile(QueryMetaData, Map) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
defaultSourceFile(SequenceMetaData, Map) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
Dependent - Annotation Type in org.apache.openjpa.persistence
Dependent field marker.
DEPTH_INFINITE - Static variable in class org.apache.openjpa.persistence.FetchPlan
Infinite fetch depth.
detach(T) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
detach(T) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Detach the specified object from the entity manager.
detachAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
detachAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
detachAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Detach the specified objects from the entity manager.
detachAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Detach the specified objects from the entity manager.
DetachedState - Annotation Type in org.apache.openjpa.persistence
Detached state.
dirty(Object, String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
dirty(Object, String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Make the named field of the given object dirty.
dirtyClass(Class) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
dirtyClass(Class) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Mark the given class as dirty within the current transaction.

E

ELEM_ACCESS - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_ATTRS - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_CASCADE - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_CASCADE_ALL - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_CASCADE_MER - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_CASCADE_PER - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_CASCADE_REF - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_CASCADE_REM - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_LISTENER - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_PKG - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_PU_DEF - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ELEM_PU_META - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
ElementDependent - Annotation Type in org.apache.openjpa.persistence
Dependent array, collection, or map element marker.
ElementType - Annotation Type in org.apache.openjpa.persistence
Indicates the persistent element type of an array, collection, or map field, if different than the declared element type.
EM_KEY - Static variable in class org.apache.openjpa.persistence.OpenJPAPersistence
 
EMF_KEY - Static variable in class org.apache.openjpa.persistence.OpenJPAPersistence
 
endClass(String) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endClassElement(String) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endClassMapping(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to finalize class mapping.
endClassMappingElement(String) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to parse a mapping element within a class.
endConfiguration() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
endEmbeddedId() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endFieldMapping(FieldMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to finalize field mapping.
endGeneratedValue() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endId() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endIdClass() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endLob() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endNamedNativeQuery() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endNamedQuery() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endQueryHint() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endSequenceGenerator() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endSystemElement(String) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
endSystemMappingElement(String) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to parse a mapping element outside of any class.
endVersion() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
EntityExistsException - Exception in org.apache.openjpa.persistence
Conflict with existing entity.
EntityExistsException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.EntityExistsException
 
EntityManagerFactoryImpl - Class in org.apache.openjpa.persistence
Implementation of EntityManagerFactory that acts as a facade to a BrokerFactory.
EntityManagerFactoryImpl(BrokerFactory) - Constructor for class org.apache.openjpa.persistence.EntityManagerFactoryImpl
Constructor.
EntityManagerImpl - Class in org.apache.openjpa.persistence
Implementation of EntityManager interface.
EntityManagerImpl(EntityManagerFactoryImpl, Broker) - Constructor for class org.apache.openjpa.persistence.EntityManagerImpl
Constructor; supply factory and delegate.
EntityNotFoundException - Exception in org.apache.openjpa.persistence
Missing entity.
EntityNotFoundException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.EntityNotFoundException
 
equals(Object) - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
equals(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
equals(Object) - Method in class org.apache.openjpa.persistence.Extent
 
equals(Object) - Method in class org.apache.openjpa.persistence.FetchPlan
 
equals(Object) - Method in class org.apache.openjpa.persistence.Generator
 
equals(Object) - Method in class org.apache.openjpa.persistence.QueryImpl
 
equals(Object) - Method in class org.apache.openjpa.persistence.QueryResultCache
 
equals(Object) - Method in class org.apache.openjpa.persistence.StoreCache
 
evict(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
evict(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Evict the given object.
evict(Query) - Method in class org.apache.openjpa.persistence.QueryResultCache
Evict a query result from the cache.
evict(Class, Object) - Method in class org.apache.openjpa.persistence.StoreCache
Remove data for the given oid from the cache.
evictAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
evictAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
evictAll() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
evictAll(Class) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
evictAll(Extent) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
evictAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Evict the given objects.
evictAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Evict the given objects.
evictAll() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Evict all clean objects.
evictAll(Class) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Evict all persistent-clean and persistent-nontransactional instances in the extent of the given class (including subclasses).
evictAll(Extent) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Evict all persistent-clean and persistent-nontransactional instances in the given Extent.
evictAll() - Method in class org.apache.openjpa.persistence.QueryResultCache
Clear the cache.
evictAll(Class) - Method in class org.apache.openjpa.persistence.QueryResultCache
Evict all result for queries involving the given class.
evictAll(Class, Object...) - Method in class org.apache.openjpa.persistence.StoreCache
Remove data for the given oids from the cache.
evictAll(Class, Collection) - Method in class org.apache.openjpa.persistence.StoreCache
Remove data for the given oids from the cache.
evictAll() - Method in class org.apache.openjpa.persistence.StoreCache
Clear the cache.
excludeUnlistedClasses() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
executeUpdate() - Method in class org.apache.openjpa.persistence.QueryImpl
 
Extent<T> - Class in org.apache.openjpa.persistence
An extent is a logical view of all instances of a class.
Extent(EntityManagerImpl, Extent) - Constructor for class org.apache.openjpa.persistence.Extent
Constructor; supply delegate.
Externalizer - Annotation Type in org.apache.openjpa.persistence
Declares a method that transforms the field value to its datastore equivalent.
ExternalValues - Annotation Type in org.apache.openjpa.persistence
Maps field values to their datastore equivalents.

F

Factory - Annotation Type in org.apache.openjpa.persistence
Declares a method that transforms the datastore value to its field equivalent.
FetchAttribute - Annotation Type in org.apache.openjpa.persistence
Includes a persistent attribute in a FetchGroup.
FetchGroup - Annotation Type in org.apache.openjpa.persistence
Fetch group definition.
FetchGroups - Annotation Type in org.apache.openjpa.persistence
Fetch groups holder.
FetchPlan - Class in org.apache.openjpa.persistence
The fetch plan allows you to dynamically alter eager fetching configuration and other aspects of data loading.
FetchPlan(FetchConfiguration) - Constructor for class org.apache.openjpa.persistence.FetchPlan
Constructor; supply delegate.
find(Class<T>, Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
findAll(Class<T>, Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
findAll(Class<T>, Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
findAll(Class<T>, Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the objects with the given oids.
findAll(Class<T>, Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the objects with the given oids.
findCached(Class<T>, Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
findCached(Class<T>, Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the cached instance for the given oid/object, or null if not cached.
flush() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
fromOpenJPAObjectId(Object) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Translate from a OpenJPA identity object to a Persistence one.
fromOpenJPAObjectIdClass(Class) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Translate from a OpenJPA identity class to a native one.
fromUserProperties(Map) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
Load the given user-supplied map of properties into this persistence unit.

G

Generator - Class in org.apache.openjpa.persistence
Represents a store sequence.
Generator(Seq, String, StoreContext, ClassMetaData) - Constructor for class org.apache.openjpa.persistence.Generator
Constructor; supply delegate.
getAnnotationParser() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Return metadata parser, creating it if it does not already exist.
getAnnotationParser() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
The annotation parser.
getAutoClear() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getAutoClear() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to clear state when entering a transaction.
getAutoDetach() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getAutoDetach() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Bit flags marked in AutoDetach which indicate when persistent managed objects should be automatically detached in-place.
getBroker() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
Broker delegate.
getBrokerFactory() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
Delegate.
getCandidateCollection() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Return the candidate collection, or null if an extent was specified instead of a collection.
getCandidateCollection() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getCause() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
getCause() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
getCause() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
getCause() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
getCause() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
getCause() - Method in exception org.apache.openjpa.persistence.NoResultException
 
getCause() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
getCause() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
getCause() - Method in exception org.apache.openjpa.persistence.RollbackException
 
getCause() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
getClassAttributeName() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
getClassElementDepth() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
getClassLoader() - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
 
getClassLoader() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getClassLoader() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the current thread's class loader at the time this entity manager was obtained from the factory.
getClassLoader() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getConfiguration() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Configuration supplied on construction.
getConfiguration() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
getConfiguration() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getConfiguration() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the configuration associated with this entity manager.
getConfiguration() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Return the configuration for this factory.
getConfiguration() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Configuration supplied on construction.
getConfiguration() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Configuration.
getConnection() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getConnection() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the connection in use by the entity manager, or a new connection if none.
getConnectionPassword() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getConnectionPassword() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the connection password.
getConnectionRetainMode() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getConnectionRetainMode() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the connection retain mode for this entity manager.
getConnectionUserName() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getConnectionUserName() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the connection user name.
getDataStoreActions(Map) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Returns a description of the commands that will be sent to the datastore in order to execute this query.
getDataStoreActions(Map) - Method in class org.apache.openjpa.persistence.QueryImpl
 
getDefaults() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
getDelegate() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getDelegate() - Method in class org.apache.openjpa.persistence.Extent
Delegate.
getDelegate() - Method in class org.apache.openjpa.persistence.FetchPlan
Delegate.
getDelegate() - Method in class org.apache.openjpa.persistence.Generator
Delegate.
getDelegate() - Method in class org.apache.openjpa.persistence.QueryImpl
Delegate.
getDelegate() - Method in class org.apache.openjpa.persistence.QueryResultCache
Delegate.
getDelegate() - Method in class org.apache.openjpa.persistence.StoreCache
Delegate.
getDetachState() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getDetachState() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Detach mode constant to determine which fields are part of the detached graph.
getDirtyObjects() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getDirtyObjects() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return a set of current dirty instances.
getElementClass() - Method in class org.apache.openjpa.persistence.Extent
The extent's element type.
getEntityManager() - Method in class org.apache.openjpa.persistence.Extent
The owning entity manager.
getEntityManager(Object) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return the entity manager for the given object, if one can be determined from just the object alone.
getEntityManager() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
The owning entity manage.
getEntityManager() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getEntityManagerFactory() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getEntityManagerFactory() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the factory that produced this entity manager.
getEntityManagerFactory() - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns the OpenJPAEntityManagerFactory specified by your OpenJPA defaults.
getEntityManagerFactory(Map) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns the OpenJPAEntityManagerFactory specified by your OpenJPA defaults, using map as overrides.
getEnvClassLoader() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Return the environmental class loader to pass on to parsed metadata instances.
getEnvClassLoader() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Return the environmental class loader to pass on to parsed metadata instances.
getEvictFromStoreCache() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getEvictFromStoreCache() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to also evict an object from the store cache when it is evicted through this entity manager.
getFailedObject() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.NoResultException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.RollbackException
 
getFailedObject() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
getFetchBatchSize() - Method in class org.apache.openjpa.persistence.FetchPlan
Return the fetch batch size for large result set support.
getFetchGroups() - Method in class org.apache.openjpa.persistence.FetchPlan
Returns the names of the fetch groups that this component will use when loading objects.
getFetchPlan() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getFetchPlan() - Method in class org.apache.openjpa.persistence.Extent
Fetch configuration for controlling how iterated objects are loaded.
getFetchPlan() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the (mutable) fetch plan for loading objects from this entity manager.
getFetchPlan() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Fetch plan for controlling the loading of results.
getFetchPlan() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getFieldGenerator(Class, String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getFieldGenerator(Class, String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Returns a Generator for the generated values of the specified type, or null if the field is not generated.
getFieldOverride() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Whether to use field-level override or class-level override.
getFields() - Method in class org.apache.openjpa.persistence.FetchPlan
Returns the fully qualified names of the fields that this component will use when loading objects.
getFirstResult() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Return the 0-based start index for the returned results.
getFirstResult() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getFlushMode() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getFlushMode() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Return the current flush mode.
getFlushMode() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getIdGenerator(Class) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getIdGenerator(Class) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Returns a Generator for the datastore identity values of the specified type, or null if the type is unmanaged or its identity cannot be represented by a sequence.
getIgnoreChanges() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getIgnoreChanges() - Method in class org.apache.openjpa.persistence.Extent
Whether the extent sees inserts and deletes in the current transaction.
getIgnoreChanges() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to take into account changes in the transaction when executing a query or iterating an extent.
getIgnoreChanges() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Whether to ignore changes in the current transaction.
getIgnoreChanges() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getJarFileUrls() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getJtaDataSource() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getJtaDataSourceName() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getLanguage() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Query language.
getLanguage() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getLocalTransaction() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getLockMode(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getLockMode(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the lock mode of the given instance, or null if not locked.
getLockTimeout() - Method in class org.apache.openjpa.persistence.FetchPlan
The number of milliseconds to wait for an object lock, or -1 for no limit.
getLog() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Metadata log.
getManagedClassNames() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getManagedObjects() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getManagedObjects() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return a set of all managed instances.
getManagedRuntime() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getManagedRuntime() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the managed runtime in use.
getMappingFileNames() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getMappingOverride() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Whether to allow later parses of mapping information to override earlier information for the same class.
getMappingOverride() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Whether to allow later parses of mapping information to override earlier information for the same class.
getMaxFetchDepth() - Method in class org.apache.openjpa.persistence.FetchPlan
The maximum fetch depth when loading an object.
getMaxResults() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Return the maximum number of results to retrieve.
getMaxResults() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getMetaData() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getMetaData(Object) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns the ClassMetaData associated with the persistent object o.
getMetaData(EntityManager, Class) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns the ClassMetaData associated with the persistent type cls.
getMetaData(EntityManagerFactory, Class) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns the ClassMetaData associated with the persistent type cls.
getMode() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
The parse mode.
getMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
The parse mode according to the expected document type.
getMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
The serialization mode according to the expected document type.
getMultithreaded() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getMultithreaded() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether the entity manager or its managed instances are used in a multithreaded environment.
getName() - Method in class org.apache.openjpa.persistence.Generator
The sequence name.
getNamedGenerator(String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getNamedGenerator(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the named generator defined in the metadata.
getNamedParameters() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
The named parameters for the query; empty map if none or if query uses named parameters.
getNamedParameters() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.NoResultException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.RollbackException
 
getNestedThrowables() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
getNewTempClassLoader() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getNonJtaDataSource() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getNonJtaDataSourceName() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getNontransactionalRead() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getNontransactionalRead() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to allow nontransactional access to persistent state.
getNontransactionalWrite() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getNontransactionalWrite() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to allow nontransactional changes to persistent state.
getObjectId(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getObjectId(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the oid of the given instance.
getObjectIdClass(Class) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getObjectIdClass(Class) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the application identity class the given persistent class uses for object ids, or null if not a type that uses application identity.
getObjects() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 
getOperation() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Query operation type.
getOperation() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getOptimistic() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getOptimistic() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to use optimistic transactional semantics.
getOrderDirtyObjects() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getOrderDirtyObjects() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether dirty objects will be returned in the order they were dirtied.
getPackage(Object) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 
getPackageAttributeName() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
getPendingTransactionalObjects() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getPendingTransactionalObjects() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return a set of instances which will become transactional upon the next transaction.
getPersistedClasses() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getPersistedClasses() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the set of classes that have been made persistent in the current transaction.
getPersistenceProviderClassName() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getPersistenceUnitName() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getPersistenceUnitRootUrl() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getPersistenceXmlFileUrl() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
The location of the persistence.xml resource.
getPopulateStoreCache() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getPopulateStoreCache() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether objects accessed during this transaction will be added to the store cache.
getPositionalParameters() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
The positional parameters for the query; empty array if none or if query uses named parameters.
getPositionalParameters() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getProperties() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
getProperties() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Return properties describing this runtime.
getProperties() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getQueryResultCache() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
getQueryResultCache() - Method in class org.apache.openjpa.persistence.FetchPlan
Return whether or not query caching is enabled.
getQueryResultCache() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Access query result cache.
getQueryScope(String, ClassLoader) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
getQueryString() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Query string.
getQueryString() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getReadLockMode() - Method in class org.apache.openjpa.persistence.FetchPlan
The lock level to use for locking loaded objects.
getReference(Class<T>, Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getRemovedClasses() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getRemovedClasses() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the set of classes that have been deleted in the current transaction.
getRepository() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Returns the repository for this parser.
getRepository() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Returns the repository for this parser.
getResourceName() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getRestoreState() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getRestoreState() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to restore an object's original state on rollback.
getResultClass() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Query result element type.
getResultClass() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getResultList() - Method in class org.apache.openjpa.persistence.QueryImpl
 
getResultSetInfo() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getRetainState() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getRetainState() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether objects retain their persistent state on transaction commit.
getRollbackOnly() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getRollbackOnly() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return whether the current transaction has been marked for rollback.
getSchemaSource() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
getSerializeAnnotations() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Whether to serialize content originally specified in annotations.
getSingleResult() - Method in class org.apache.openjpa.persistence.QueryImpl
Execute a query that returns a single result.
getSourceFile() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Determine the source file we're parsing.
getSourceFile() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getSourceFile(Object) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Override to not overwrite annotations.
getSourceScope() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getSourceType() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getStoreCache() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
getStoreCache(String) - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
getStoreCache() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Access the level 2 store cache.
getStoreCache(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Access a named level 2 store cache.
getStrategy(FieldMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Return the serialized strategy name.
getSubtype() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.NoResultException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.RollbackException
 
getSubtype() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
getSyncWithManagedTransactions() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getSyncWithManagedTransactions() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to check for a global transaction upon every managed, non-transactional operation.
getTransaction() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getTransactionalObjects() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getTransactionalObjects() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return a set of current transaction instances.
getTransactionType() - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
getType() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
getType() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
getType() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
getType() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
getType() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
getType() - Method in exception org.apache.openjpa.persistence.NoResultException
 
getType() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
getType() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
getType() - Method in class org.apache.openjpa.persistence.PersistenceProductDerivation
 
getType() - Method in exception org.apache.openjpa.persistence.RollbackException
 
getType() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
getUpdatedClasses() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getUpdatedClasses() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return the set of classes for objects that have been modified in the current transaction.
getUserObject(Object) - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
getUserObject(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getUserObject(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Get the value for the specified key from the map of user objects.
getUserObject(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Get the value for the specified key from the map of user objects.
getVersion(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
getVersion(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Returns the current version indicator for o.
getWriteLockMode() - Method in class org.apache.openjpa.persistence.FetchPlan
The lock level to use for locking dirtied objects.
getXMLParser() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Return XML metadata parser, creating it if it does not already exist.
GROUP_ALL - Static variable in class org.apache.openjpa.persistence.FetchPlan
Fetch group representing all fields.
GROUP_DEFAULT - Static variable in class org.apache.openjpa.persistence.FetchPlan
The default fetch group.

H

handleUnknownClassAnnotation(ClassMetaData, Annotation) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Allow subclasses to handle unknown annotations.
handleUnknownMemberAnnotation(FieldMetaData, Annotation) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Allow subclasses to handle unknown annotations.
handleUnknownPackageAnnotation(Package, Annotation) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Allow subclasses to handle unknown annotations.
hasField(String) - Method in class org.apache.openjpa.persistence.FetchPlan
Return true if the given field has been added.
hasField(Class, String) - Method in class org.apache.openjpa.persistence.FetchPlan
Return true if the given field has been added.
hashCode() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
hashCode() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
hashCode() - Method in class org.apache.openjpa.persistence.Extent
 
hashCode() - Method in class org.apache.openjpa.persistence.FetchPlan
 
hashCode() - Method in class org.apache.openjpa.persistence.Generator
 
hashCode() - Method in class org.apache.openjpa.persistence.QueryImpl
 
hashCode() - Method in class org.apache.openjpa.persistence.QueryResultCache
 
hashCode() - Method in class org.apache.openjpa.persistence.StoreCache
 
hasPositionalParameters() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Whether this query has positional parameters.
hasPositionalParameters() - Method in class org.apache.openjpa.persistence.QueryImpl
 
hasSubclasses() - Method in class org.apache.openjpa.persistence.Extent
Whether the extent includes subclasses.
hasSubclasses() - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Whether subclasses are included in the query results.
hasSubclasses() - Method in class org.apache.openjpa.persistence.QueryImpl
 

I

InvalidStateException - Exception in org.apache.openjpa.persistence
Extended IllegalStateException.
InvalidStateException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.InvalidStateException
 
InverseLogical - Annotation Type in org.apache.openjpa.persistence
Declares the logical inverse of a field.
isActive() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isClassElementName(String) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
isDetached(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isDetached(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Returns true if pc is a detached object (one that can be reattached to a EntityManager via a call to EntityManager.merge(T)); otherwise returns false.
isDirty(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isDirty(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return whether the given object is dirty.
isFatal() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
isFatal() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
isFatal() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
isFatal() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
isFatal() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
isFatal() - Method in exception org.apache.openjpa.persistence.NoResultException
 
isFatal() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
isFatal() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
isFatal() - Method in exception org.apache.openjpa.persistence.RollbackException
 
isFatal() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
isLargeTransaction() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isLargeTransaction() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether memory usage is reduced during this transaction at the expense of possibly more aggressive data cache evictions.
isManaged() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isManaged() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether this entity manager is using managed transactions.
isManagedType(EntityManager, Class) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns true if the specified class is an entity or embeddable type.
isManagedType(EntityManagerFactory, Class) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Returns true if the specified class is an entity or embeddable type.
isMappingMode() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Convenience method for interpreting AnnotationPersistenceMetaDataParser.getMode().
isMappingMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Convenience method for interpreting XMLPersistenceMetaDataParser.getMode().
isMappingMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Convenience method for interpreting XMLPersistenceMetaDataSerializer.getMode().
isMappingMode(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Convenience method for interpreting XMLPersistenceMetaDataSerializer.getMode().
isMappingMode(ValueMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Convenience method for interpreting XMLPersistenceMetaDataSerializer.getMode().
isMappingOverrideMode() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Returns true if we're in mapping mode or in metadata mode with mapping overide enabled.
isMappingOverrideMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Returns true if we're in mapping mode or in metadata mode with mapping override enabled.
isMetaDataMode() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Convenience method for interpreting AnnotationPersistenceMetaDataParser.getMode().
isMetaDataMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Convenience method for interpreting XMLPersistenceMetaDataParser.getMode().
isMetaDataMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Convenience method for interpreting XMLPersistenceMetaDataSerializer.getMode().
isNewlyPersistent(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isNewlyPersistent(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return whether the given object was made persistent in the current transaction.
isOpen() - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
isOpen() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isPersistent(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isPersistent(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return whether the given object is persistent.
isQueryMode() - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Convenience method for interpreting AnnotationPersistenceMetaDataParser.getMode().
isQueryMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Convenience method for interpreting XMLPersistenceMetaDataParser.getMode().
isQueryMode() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Convenience method for interpreting XMLPersistenceMetaDataSerializer.getMode().
isRemoved(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isRemoved(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return whether the given object is deleted.
isRuntime() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Return whether we're running the parser at runtime.
isStoreActive() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isStoreActive() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether a store transaction is active.
isTransactional(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
isTransactional(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Return whether the given object is transactional.
iterator() - Method in class org.apache.openjpa.persistence.Extent
Iterator over contents.

J

joinTransaction() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 

K

KeyDependent - Annotation Type in org.apache.openjpa.persistence
Dependent map key marker.
KeyType - Annotation Type in org.apache.openjpa.persistence
Indicates the persistent key type of a map field, if different than the declared type.

L

list() - Method in class org.apache.openjpa.persistence.Extent
List the extent contents.
load(PersistenceUnitInfo) - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
Load configuration from the given persistence unit with the specified user properties.
load(PersistenceUnitInfo, Map) - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
Load configuration from the given persistence unit with the specified user properties.
load(String, String, Map) - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
Load configuration from the given resource, with the given map of overrides.
load(String, ClassLoader) - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
 
load(File) - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
 
load(Class, int, ClassLoader) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
loadDefaults(ClassLoader) - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
 
LoadFetchGroup - Annotation Type in org.apache.openjpa.persistence
Fetch group loaded when the annotated field/property is loaded.
lock(Object, LockModeType) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
lock(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
lock(Object, LockModeType, int) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
lock(Object, LockModeType, int) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Ensure that the given instance is locked at the given lock level.
lock(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Ensure that the given instance is locked at the current lock level, as set in the FetchPlan for the entity manager.
lockAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
lockAll(Collection, LockModeType, int) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
lockAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
lockAll(Object[], LockModeType, int) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
lockAll(Collection, LockModeType, int) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Ensure that the given instances are locked at the given lock level.
lockAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Ensure that the given instances are locked at the current lock level, as set in the FetchPlan for the entity manager.
lockAll(Object[], LockModeType, int) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Ensure that the given instances are locked at the given lock level.
lockAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Ensure that the given instances are locked at the current lock level, as set in the FetchPlan for the entity manager.
LRS - Annotation Type in org.apache.openjpa.persistence
Large result set field marker.

M

mapPersistentTypeNames(Object, String[]) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
merge(T) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
mergeAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
mergeAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
mergeAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Merge the specified objects into the entity manager.
mergeAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Merge the specified detached objects into the entity manager.
MetaDataTag - Enum in org.apache.openjpa.persistence
Set of metadata tags used in JPA.

N

NAME_DEFAULT - Static variable in class org.apache.openjpa.persistence.StoreCache
 
newAnnotationParser() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Create a new metadata parser.
newClassArgParser() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
newDelegatingFetchConfiguration(FetchConfiguration) - Method in class org.apache.openjpa.persistence.FetchPlan
Create a new exception-translating delegating fetch configuration.
newMetaDataFilter() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
newParser(boolean) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
newSerializationComparator() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Create a new comparator for ordering objects that are to be serialized.
newSerializer() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
newXMLParser(boolean) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Create a new metadata parser.
newXMLSerializer() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Create a new serializer
next() - Method in class org.apache.openjpa.persistence.Generator
The next sequence value.
nontransactional(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
nontransactional(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Make the given object nontransactional.
nontransactionalAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
nontransactionalAll(Object[]) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
nontransactionalAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Make the given objects nontransactional.
nontransactionalAll(Object[]) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Make the given objects nontransactional.
NonUniqueResultException - Exception in org.apache.openjpa.persistence
Unique query returned multipl results.
NonUniqueResultException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.NonUniqueResultException
 
NoResultException - Exception in org.apache.openjpa.persistence
Unique query returned no results.
NoResultException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.NoResultException
 

O

OpenJPAEntityManager - Interface in org.apache.openjpa.persistence
Interface implemented by OpenJPA entity managers.
OpenJPAEntityManagerFactory - Interface in org.apache.openjpa.persistence
Interface implemented by OpenJPA entity manager factories.
OpenJPAPersistence - Class in org.apache.openjpa.persistence
Static helper method for JPA users, including switching between OpenJPA native and Java Persistence APIs.
OpenJPAPersistence() - Constructor for class org.apache.openjpa.persistence.OpenJPAPersistence
 
OpenJPAQuery - Interface in org.apache.openjpa.persistence
Interface implemented by OpenJPA queries.
OptimisticLockException - Exception in org.apache.openjpa.persistence
Optimistic concurrency violation.
OptimisticLockException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.OptimisticLockException
 
org.apache.openjpa.persistence - package org.apache.openjpa.persistence
OpenJPA JPA

P

parse(Class) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Parse persistence metadata for the given class.
parse(MetaDataParser, Class[]) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
parseBasic(FieldMetaData, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse basic.
parseCallbackMethods(Class, Collection<LifecycleCallbacks>[], boolean, boolean) - Static method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Parse callback methods into the given array, and return that array, creating one if null.
parseClassMappingAnnotations(ClassMetaData) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Parse class mapping annotations.
parseEmbedded(FieldMetaData, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse embedded.
parseLobMapping(FieldMetaData) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Setup the field as a LOB mapping.
parseManyToMany(FieldMetaData, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse many-to-many.
parseManyToOne(FieldMetaData, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse many-to-one.
parseMemberMappingAnnotations(FieldMetaData) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Parse member mapping components.
parseOneToMany(FieldMetaData, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse one-to-many.
parseOneToOne(FieldMetaData, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse one-to-one.
parsePackageMappingAnnotations(Package) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Parse package mapping annotations.
persist(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
persistAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
persistAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
persistAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Persist the given objects.
persistAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Persist the given objects.
PersistenceException - Exception in org.apache.openjpa.persistence
General persistence exception.
PersistenceException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.PersistenceException
 
PersistenceExceptions - Class in org.apache.openjpa.persistence
Converts from OpenJPA to persistence exception types.
PersistenceExceptions() - Constructor for class org.apache.openjpa.persistence.PersistenceExceptions
 
PersistenceMetaDataFactory - Class in org.apache.openjpa.persistence
MetaDataFactory for JPA metadata.
PersistenceMetaDataFactory() - Constructor for class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
PersistenceProductDerivation - Class in org.apache.openjpa.persistence
Sets JPA specification defaults.
PersistenceProductDerivation() - Constructor for class org.apache.openjpa.persistence.PersistenceProductDerivation
 
PersistenceProviderImpl - Class in org.apache.openjpa.persistence
Bootstrapping class that allows the creation of a stand-alone EntityManager.
PersistenceProviderImpl() - Constructor for class org.apache.openjpa.persistence.PersistenceProviderImpl
 
PersistenceStrategy - Enum in org.apache.openjpa.persistence
Set of field persistence strategies used in JPA.
PersistenceUnitInfoImpl - Class in org.apache.openjpa.persistence
Implementation of the PersistenceUnitInfo interface used by OpenJPA when parsing persistence configuration information.
PersistenceUnitInfoImpl() - Constructor for class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
Persistent - Annotation Type in org.apache.openjpa.persistence
Metadata annotation for a persistent field.
PersistentCollection - Annotation Type in org.apache.openjpa.persistence
Metadata annotation for a persistent collection field.
PersistentMap - Annotation Type in org.apache.openjpa.persistence
Metadata annotation for a persistent map field.
pin(Query) - Method in class org.apache.openjpa.persistence.QueryResultCache
Pin the given query's result to the cache.
pin(Class, Object) - Method in class org.apache.openjpa.persistence.StoreCache
Pin the data for the given oid to the cache.
pinAll(Class, Object...) - Method in class org.apache.openjpa.persistence.StoreCache
Pin the data for the given oids to the cache.
pinAll(Class, Collection) - Method in class org.apache.openjpa.persistence.StoreCache
Pin the data for the given oids to the cache.
popElement() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Pop a parse element from the stack.
preFlush() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
preFlush() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Run pre-flush actions on transactional objects, including persistence-by-reachability, inverse relationship management, deletion of dependent instances, and instance callbacks.
printStackTrace() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.ArgumentException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.ArgumentException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.NoResultException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.NoResultException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.NoResultException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.PersistenceException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.PersistenceException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.RollbackException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.RollbackException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.RollbackException
 
printStackTrace() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
printStackTrace(PrintStream) - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
printStackTrace(PrintWriter) - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
processArgument(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
processArgument(int, Object, OpenJPAStateManager) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
processReturn(Object, OpenJPAStateManager) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
pushElement(Object) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Push a parse element onto the stack.
putUserObject(Object, Object) - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
putUserObject(Object, Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
putUserObject(Object, Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Put the specified key-value pair into the map of user objects.
putUserObject(Object, Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Put the specified key-value pair into the map of user objects.

Q

QueryImpl - Class in org.apache.openjpa.persistence
Implementation of Query interface.
QueryImpl(EntityManagerImpl, Query) - Constructor for class org.apache.openjpa.persistence.QueryImpl
Constructor; supply factory and delegate.
QueryResultCache - Class in org.apache.openjpa.persistence
Query result cache.
QueryResultCache(QueryCache) - Constructor for class org.apache.openjpa.persistence.QueryResultCache
Constructor; supply delegate.

R

ReadOnly - Annotation Type in org.apache.openjpa.persistence
Marks a field read-only.
refresh(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
refreshAll() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
refreshAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
refreshAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
refreshAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Refresh the state of the given objects.
refreshAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Refresh the state of the given objects.
refreshAll() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Refresh all transactional objects.
release(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
release(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Release the given object from management.
releaseAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
releaseAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
releaseAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Release the given object from management.
releaseAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Release the given objects from management.
releaseSavepoint() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
releaseSavepoint(String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
releaseSavepoint() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Release the last set savepoint and any resources associated with it.
releaseSavepoint(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Release the savepoint and any resources associated with it.
remove(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
removeAggregateListener(AggregateListener) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Remove an aggregate listener from the query.
removeAggregateListener(AggregateListener) - Method in class org.apache.openjpa.persistence.QueryImpl
 
removeAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
removeAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
removeAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Delete the given persistent objects.
removeAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Delete the given persistent objects.
removeAll(MetaDataRepository) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Remove all the components in the given repository from the set to be serialized.
removeFetchGroup(String) - Method in class org.apache.openjpa.persistence.FetchPlan
Remove the given fetch group.
removeFetchGroups(String...) - Method in class org.apache.openjpa.persistence.FetchPlan
Removes groups from the set of fetch group names to use when loading objects.
removeFetchGroups(Collection) - Method in class org.apache.openjpa.persistence.FetchPlan
Removes groups from the set of fetch group names to use when loading objects.
removeField(String) - Method in class org.apache.openjpa.persistence.FetchPlan
Remove the given fully-qualified field.
removeField(Class, String) - Method in class org.apache.openjpa.persistence.FetchPlan
Remove the given field.
removeFields(String...) - Method in class org.apache.openjpa.persistence.FetchPlan
Removes fields from the set of fully-qualified field names to use when loading objects.
removeFields(Class, String...) - Method in class org.apache.openjpa.persistence.FetchPlan
Removes fields from the set of field names to use when loading objects.
removeFields(Collection) - Method in class org.apache.openjpa.persistence.FetchPlan
Removes fields from the set of fully-qualified field names to use when loading objects.
removeFields(Class, Collection) - Method in class org.apache.openjpa.persistence.FetchPlan
Removes fields from the set of field names to use when loading objects.
removeFilterListener(FilterListener) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Remove a filter listener from the query.
removeFilterListener(FilterListener) - Method in class org.apache.openjpa.persistence.QueryImpl
 
removeLifecycleListener(Object) - Method in class org.apache.openjpa.persistence.EntityManagerFactoryImpl
 
removeLifecycleListener(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
removeLifecycleListener(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Remove a listener for lifecycle-related events.
removeLifecycleListener(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManagerFactory
Remove a listener for lifecycle-related events.
removeMetaData(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Remove a metadata from the set to be serialized.
removeQueryMetaData(QueryMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Remove a query metadata from the set to be serialized.
removeSequenceMetaData(SequenceMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Remove a sequence metadata from the set to be serialized.
removeTransactionListener(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
removeTransactionListener(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Remove a listener for transaction-related events.
reset() - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
resetFetchGroups() - Method in class org.apache.openjpa.persistence.FetchPlan
Resets the set of fetch groups to the list in the global configuration.
retrieve(Object) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
retrieve(Object) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Immediately load the given object's persistent fields.
retrieveAll(Collection) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
retrieveAll(Object...) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
retrieveAll(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Retrieve the persistent state of the given objects.
retrieveAll(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Retrieve the persistent state of the given objects.
rollback() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
rollbackAndResume() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
rollbackAndResume() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Issue a rollback and then start a new transaction.
RollbackException - Exception in org.apache.openjpa.persistence
Rollback occurred on attempt to commit.
RollbackException(Exception) - Constructor for exception org.apache.openjpa.persistence.RollbackException
 
rollbackToSavepoint() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
rollbackToSavepoint(String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
rollbackToSavepoint() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Rollback the current transaction to the last savepoint.
rollbackToSavepoint(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Rollback the current transaction to the given savepoint name.

S

serialize(Collection) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 
serializeAttributeOverride(FieldMetaData, FieldMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Always returns false by default.
serializeAttributeOverrideMappingContent(FieldMetaData, FieldMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize attribute override mapping content.
serializeClass(ClassMetaData, boolean) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize class metadata.
serializeClassMappingContent(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize class mapping content.
serializeFieldMappingContent(FieldMetaData, PersistenceStrategy) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize field mapping content; this will be called before #serializeValueMappingContent.
serializeInheritanceContent(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize inheritance content.
serializeQueryMappings(ClassMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize query mappings.
serializeSequence(SequenceMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize sequence metadata.
serializeSystemMappingElement(Object) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Serialize unknown mapping element at system level.
setAnnotationParser(AnnotationPersistenceMetaDataParser) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Set the metadata parser.
setAnnotationParser(AnnotationPersistenceMetaDataParser) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
The annotation parser.
setAutoClear(int) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setAutoClear(int) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to clear state when entering a transaction.
setAutoDetach(int) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setAutoDetach(int, boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setAutoDetach(int) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Bit flags marked in AutoDetach which indicate when persistent managed objects should be automatically detached in-place.
setAutoDetach(int, boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Bit flags marked in AutoDetach which indicate when persistent managed objects should be automatically detached in-place.
setCandidateCollection(Collection) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Set a collection of candidates.
setCandidateCollection(Collection) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setCascades(FieldMetaData) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Set the cached cascades into the field.
setConfiguration(Configuration) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
setDefaultAccessType(String) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
The default access type for base classes with ACCESS_UNKNOWN
setDetachState(int) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setDetachState(int) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Detach mode constant to determine which fields are part of the detached graph.
setEnvClassLoader(ClassLoader) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Set the environmental class loader to pass on to parsed metadata instances.
setEnvClassLoader(ClassLoader) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Set the environmental class loader to pass on to parsed metadata instances.
setEvictFromStoreCache(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setEvictFromStoreCache(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to also evict an object from the store cache when it is evicted through this entity manager.
setExcludeUnlistedClasses(boolean) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setFetchBatchSize(int) - Method in class org.apache.openjpa.persistence.FetchPlan
Set the fetch batch size for large result set support.
setFieldOverride(boolean) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Whether to use field-level override or class-level override.
setFirstResult(int) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setFirstResult(int) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setFlushMode(FlushModeType) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setFlushMode(FlushModeType) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setFlushMode(FlushModeType) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setHint(String, Object) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setHint(String, Object) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setIgnoreChanges(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setIgnoreChanges(boolean) - Method in class org.apache.openjpa.persistence.Extent
Whether the extent sees inserts and deletes in the current transaction.
setIgnoreChanges(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to take into account changes in the transaction when executing a query or iterating an extent.
setIgnoreChanges(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Whether to ignore changes in the current transaction.
setIgnoreChanges(boolean) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setInto(Configuration) - Method in class org.apache.openjpa.persistence.ConfigurationProviderImpl
 
setJtaDataSource(DataSource) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setJtaDataSourceName(String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setLargeTransaction(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setLargeTransaction(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
If a large number of objects will be created, modified, or deleted during this transaction setting this option to true will reduce memory usage if you perform periodic flushes.
setLockTimeout(int) - Method in class org.apache.openjpa.persistence.FetchPlan
The number of milliseconds to wait for an object lock, or -1 for no limit.
setMappingOverride(boolean) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Whether to allow later parses of mapping information to override earlier information for the same class.
setMappingOverride(boolean) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Whether to allow later parses of mapping information to override earlier information for the same class.
setMaxFetchDepth(int) - Method in class org.apache.openjpa.persistence.FetchPlan
The maximum fetch depth when loading an object.
setMaxResults(int) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setMaxResults(int) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setMode(int, boolean) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
The parse mode.
setMode(int) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
The parse mode.
setMode(int, boolean) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
The parse mode according to the expected document type.
setMode(int) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
The parse mode according to the expected document type.
setMode(int) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
The serialization mode according to the expected document type.
setMode(int, boolean) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
The serialization mode according to the expected document type.
setMultithreaded(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setMultithreaded(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether the entity manager or its managed instances are used in a multithreaded environment.
setNonJtaDataSource(DataSource) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setNonJtaDataSourceName(String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setNontransactionalRead(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setNontransactionalRead(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to allow nontransactional access to persistent state.
setNontransactionalWrite(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setNontransactionalWrite(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to allow nontransactional changes to persistent state.
setOptimistic(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setOptimistic(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to use optimistic transactional semantics.
setOrderDirtyObjects(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setOrderDirtyObjects(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether dirty objects will be returned in the order they were dirtied.
setParameter(String, Object) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setParameter(String, Date, TemporalType) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setParameter(String, Calendar, TemporalType) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setParameter(int, Object) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setParameter(int, Date, TemporalType) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setParameter(int, Calendar, TemporalType) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
 
setParameter(int, Calendar, TemporalType) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setParameter(int, Date, TemporalType) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setParameter(int, Object) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setParameter(String, Calendar, TemporalType) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setParameter(String, Date, TemporalType) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setParameter(String, Object) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setParameters(Map) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Set parameters.
setParameters(Object...) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Set parameters.
setParameters(Object...) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setParameters(Map) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setPersistenceProviderClassName(String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setPersistenceUnitName(String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setPersistenceUnitRootUrl(URL) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setPersistenceXmlFileUrl(URL) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
The location of the persistence.xml resource.
setPopulateStoreCache(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setPopulateStoreCache(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to populate the store cache with objects used by this transaction.
setProperty(String, String) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setQueryResultCache(boolean) - Method in class org.apache.openjpa.persistence.FetchPlan
Control whether or not query caching is enabled.
setReadLockMode(LockModeType) - Method in class org.apache.openjpa.persistence.FetchPlan
The lock level to use for locking loaded objects.
setRepository(MetaDataRepository) - Method in class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataParser
Set the metadata repository for this parser.
setRepository(MetaDataRepository) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Set the metadata repository for this parser.
setRestoreState(int) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setRestoreState(int) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to restore an object's original state on rollback.
setResultClass(Class) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Query result element type.
setResultClass(Class) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setRetainState(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setRetainState(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether objects retain their persistent state on transaction commit.
setRollbackOnly() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setRollbackOnly() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Mark the current transaction for rollback.
setSavepoint(String) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setSavepoint(String) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Set a transactional savepoint where operations after this savepoint will be rolled back.
setSerializeAnnotations(boolean) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Whether to serialize content originally specified in annotations.
setSubclasses(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAQuery
Whether subclasses are included in the query results.
setSubclasses(boolean) - Method in class org.apache.openjpa.persistence.QueryImpl
 
setSyncWithManagedTransactions(boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
setSyncWithManagedTransactions(boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Whether to check for a global transaction upon every managed, non-transactional operation.
setTransactionType(PersistenceUnitTransactionType) - Method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
 
setWriteLockMode(LockModeType) - Method in class org.apache.openjpa.persistence.FetchPlan
The lock level to use for locking dirtied objects.
setXMLParser(XMLPersistenceMetaDataParser) - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
Set the metadata parser.
SPEC_JPA - Static variable in class org.apache.openjpa.persistence.PersistenceProductDerivation
 
startCascade(Object, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Lazily parse cascades.
startClass(String, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
startClassElement(String, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
startClassMapping(ClassMetaData, boolean, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to add mapping attributes to class.
startClassMappingElement(String, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to parse a mapping element within a class.
startConfiguration() - Method in class org.apache.openjpa.persistence.PersistenceMetaDataFactory
 
startEmbeddedId(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse embedded-id.
startFieldMapping(FieldMetaData, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to add field mapping data.
startGeneratedValue(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse generated-value.
startId(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse id.
startIdClass(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse id-class.
startLob(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse lob.
startNamedNativeQuery(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse native-named-query.
startNamedQuery(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse named-query.
startQueryHint(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse query-hint.
startSequenceGenerator(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse sequence-generator.
startSystemElement(String, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
 
startSystemMappingElement(String, Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Implement to parse a mapping element outside of any class.
startVersion(Attributes) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Parse version.
StoreCache - Class in org.apache.openjpa.persistence
Represents the L2 cache over the data store.
StoreCache(EntityManagerFactoryImpl, DataCache) - Constructor for class org.apache.openjpa.persistence.StoreCache
Constructor; supply delegate.

T

toBroker(EntityManager) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return the underlying broker for the given entity manager facade.
toBrokerFactory(EntityManagerFactory) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return the underlying broker factory for the given persistence manager factory facade.
toEntityManager(Broker) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return a persistence manager facade to the given broker retaining previously associated persistence context type.
toEntityManagerFactory(BrokerFactory) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return an entity manager factory facade to the given broker factory.
toOpenJPAObjectId(ClassMetaData, Object) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Translate from a Persistence identity object to a OpenJPA one.
toOpenJPAObjectIds(ClassMetaData, Object...) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return an array of OpenJPA oids for the given native oid array.
toOpenJPAObjectIds(ClassMetaData, Collection) - Static method in class org.apache.openjpa.persistence.OpenJPAPersistence
Return a collection of OpenJPA oids for the given native oid collection.
toOpenJPAProperties(PersistenceUnitInfo) - Static method in class org.apache.openjpa.persistence.PersistenceUnitInfoImpl
Return a Map containing the properties necessary to create a Configuration that reflects the information in the given persistence unit info.
toPersistenceException(Throwable) - Static method in class org.apache.openjpa.persistence.PersistenceExceptions
Convert the given throwable to the proper persistence exception.
toString() - Method in exception org.apache.openjpa.persistence.ArgumentException
 
toString() - Method in exception org.apache.openjpa.persistence.EntityExistsException
 
toString() - Method in exception org.apache.openjpa.persistence.EntityNotFoundException
 
toString() - Method in exception org.apache.openjpa.persistence.InvalidStateException
 
toString() - Method in exception org.apache.openjpa.persistence.NonUniqueResultException
 
toString() - Method in exception org.apache.openjpa.persistence.NoResultException
 
toString() - Method in exception org.apache.openjpa.persistence.OptimisticLockException
 
toString() - Method in exception org.apache.openjpa.persistence.PersistenceException
 
toString() - Method in exception org.apache.openjpa.persistence.RollbackException
 
toString() - Method in exception org.apache.openjpa.persistence.TransactionRequiredException
 
transactional(Object, boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
transactional(Object, boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Make the given object transactional.
transactionalAll(Collection, boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
transactionalAll(Object[], boolean) - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
transactionalAll(Collection, boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Make the given objects transactional.
transactionalAll(Object[], boolean) - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Make the given objects transactional.
TransactionRequiredException - Exception in org.apache.openjpa.persistence
Transaction required.
TransactionRequiredException(String, Throwable[], Object, boolean) - Constructor for exception org.apache.openjpa.persistence.TransactionRequiredException
 
TRANSLATOR - Static variable in class org.apache.openjpa.persistence.PersistenceExceptions
 
Type - Annotation Type in org.apache.openjpa.persistence
Indicates the persistent type of a field, if different than the declared type.
type(Object) - Method in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Return the type constant for the given object based on its runtime class.
TYPE_CLASS_QUERIES - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 
TYPE_CLASS_SEQS - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 
TYPE_META - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 
TYPE_QUERY - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 
TYPE_SEQ - Static variable in class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
 

U

unpin(Query) - Method in class org.apache.openjpa.persistence.QueryResultCache
Unpin a previously-pinned query result.
unpin(Class, Object) - Method in class org.apache.openjpa.persistence.StoreCache
Unpin the data for the given oid from the cache.
unpinAll(Class, Object...) - Method in class org.apache.openjpa.persistence.StoreCache
Unpin the data for the given oids from the cache.
unpinAll(Class, Collection) - Method in class org.apache.openjpa.persistence.StoreCache
Unpin the data for the given oids from the cache.
UpdateAction - Enum in org.apache.openjpa.persistence
Action to take when a field's value is changed.
UUID_HEX - Static variable in class org.apache.openjpa.persistence.Generator
 
UUID_STRING - Static variable in class org.apache.openjpa.persistence.Generator
 

V

validateChanges() - Method in class org.apache.openjpa.persistence.EntityManagerImpl
 
validateChanges() - Method in interface org.apache.openjpa.persistence.OpenJPAEntityManager
Validate the changes made in this transaction, reporting any optimistic violations, constraint violations, etc.
valueOf(String) - Static method in enum org.apache.openjpa.persistence.MetaDataTag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.openjpa.persistence.PersistenceStrategy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.openjpa.persistence.UpdateAction
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.openjpa.persistence.MetaDataTag
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.apache.openjpa.persistence.PersistenceStrategy
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum org.apache.openjpa.persistence.UpdateAction
Returns an array containing the constants of this enum type, in the order they're declared.

X

XMLPersistenceMetaDataParser - Class in org.apache.openjpa.persistence
Custom SAX parser used by the system to quickly parse persistence i metadata files.
XMLPersistenceMetaDataParser(OpenJPAConfiguration) - Constructor for class org.apache.openjpa.persistence.XMLPersistenceMetaDataParser
Constructor; supply configuration.
XMLPersistenceMetaDataSerializer - Class in org.apache.openjpa.persistence
Serializes persistence metadata back to XML.
XMLPersistenceMetaDataSerializer(OpenJPAConfiguration) - Constructor for class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
Constructor.
XMLPersistenceMetaDataSerializer.SerializationComparator - Class in org.apache.openjpa.persistence
Compares clases, sequences, and queries to order them for serialization.
XMLPersistenceMetaDataSerializer.SerializationComparator() - Constructor for class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.SerializationComparator
 

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

Copyright © 2006 Apache Software Foundation. All Rights Reserved.