Package org.apache.openjpa.persistence
package org.apache.openjpa.persistence
OpenJPA JPA
This package provides an JPA facade to OpenJPA. All major OpenJPA runtime components have JPA-flavored facades in this package.
-
ClassDescriptionAn abstract implementation of the Query interface.Helper class to stringify annotation declarations.Persistence annotation metadata parser.Serializes persistence metadata as annotations.JAXB xml annotation metadata parser.Extended
IllegalArgumentException
.The possible settings for the auto-clear behavior of anOpenJPAEntityManager
.The possible settings for the auto-detach behavior of anOpenJPAEntityManager
.The possible settings for the callback behavior of anOpenJPAEntityManager
.The possible values for use when configuring the connection retain behavior for anOpenJPAEntityManager
.Caching characteristics for this class.Describes how to generate a value for a field.Dependent field marker.Detached state.The possible settings for the detachment behavior of anOpenJPAEntityManager
.Dependent array, collection, or map element marker.Indicates the persistent element type of an array, collection, or map field, if different than the declared element type.Conflict with existing entity.Implementation ofEntityManagerFactory
that acts as a facade to aBrokerFactory
.Plugin type used to represent theEntityManagerFactory
.Implementation ofEntityManager
interface.Missing entity.Extent<T>An extent is a logical view of all instances of a class.ExtentImpl<T>An extent is a logical view of all instances of a class.Declares a method that transforms the field value to its datastore equivalent.Maps field values to their datastore equivalents.Declares a method that transforms the datastore value to its field equivalent.Includes a persistent attribute in aFetchGroup
.Fetch group definition.Fetch groups holder.The fetch plan allows you to dynamically alter eager fetching configuration and other aspects of data loading.Implements FetchPlan via delegation to FetchConfiguration.Represents a store sequence.Represents a store sequence.Manages query hint keys and handles their values on behalf of a owningQueryImpl
.Converts a given user-specified value to a target type consumable by the kernel.Convert the enum value to an enumerated set of constants.Converts an OpenJPA specific enum to an equivalent kernel constant.Converts a String to an integer.ExtendedIllegalStateException
.Declares the logical inverse of a field.Helper class for switching between OpenJPA's JPA facade and the underlying Broker kernel.Enumerates configuration property keys defined in JPA 2.0 Specification.Dependent map key marker.Indicates the persistent key type of a map field, if different than the declared type.Fetch group loaded when the annotated field/property is loaded.Helper methods translate between JPA-defined pessimistic lock scope and OpenJPA internal lock scope levels.Pessimistic lock timeout violation.Large result set field marker.The annotated interface should be treated as a managed interface by OpenJPA.Set of metadata tags used in JPA.Helper methods translate between JPA-defined lock mode and OpenJPA internal lock levels.Unique query returned multipl results.Unique query returned no results.Interface implemented by OpenJPA entity managers.Interface implemented by OpenJPA entity manager factories.Extension of the JPAEntityTransaction
interface.OpenJPAEnum<E extends Enum<?>>An interface to define conversion of a facade based enum to a kernel integer constant.Static helper methods for JPA users.OpenJPAQuery<X>Interface implemented by OpenJPA queries.Optimistic concurrency violation.A user-defined parameter of a query.General persistence exception.Converts from OpenJPA to persistence exception types.JPA-based metadata defaults.MetaDataFactory
for JPA metadata.Sets JPA specification defaults and parses JPA specification XML files.SAX handler capable of parsing an JPA persistence.xml file.Custom configuration provider.Bootstrapping class that allows the creation of a stand-aloneEntityManager
.Set of field persistence strategies used in JPA.Implementation of thePersistenceUnitInfo
interface used by OpenJPA when parsing persistence configuration information.Simple class resolver built around the persistence unit loader.Metadata annotation for a persistent field.Metadata annotation for a persistent collection field.Metadata annotation for a persistent map field.Pessimistic concurrency violation.QueryImpl<X>Implementation ofQuery
interface.The possible operations that a query can perform.Query result cache.Implements Query result cache via delegation to QueryCache.Query timeout violation.Marks a field read-only.The possible settings for the restore behavior after transaction rollback of anOpenJPAEntityManager
.Rollback occurred on attempt to commit.Represents the L2 cache over the data store.Implements the L2 cache over the data store via delegation to DataCache.Implements Store Procedure based query for JPA facade.Transaction required.A factory for tuples such that all instances created by a factory instance share the same TupleElements to save memory consumption.Tuple holds a set of values corresponding to a set ofTupleElement
.Indicates the persistent type of a field, if different than the declared type.Action to take when a field's value is changed.Custom SAX parser used by the system to quickly parse persistence metadata files.Serializes persistence metadata back to XML.