Package org.apache.openjpa.kernel
package org.apache.openjpa.kernel
OpenJPA Runtime Kernel
This package provides a common OpenJPA runtime environment that can be adapted for use with various data store mechanisms.
-
ClassDescriptionAbstract implementation of the
BrokerFactory
that must be subclassed for a specific runtime.AbstractLockManager
implementation.Abstract base class which implements core PCData behavior.Abstract implementation ofPCResultObjectProvider
that implementsResultObjectProvider.getResultObject()
by assembling the necessary information about the object to be loaded.AbstractStoreQuery
that implements most methods as no-ops.AbstractStoreQuery.Executor
that implements most methods as no-ops.Handles attaching instances.Carries immutable information about an audited persistent instance.Controller for audit facility.State clearing constants.Bit flags for when to automatically detach the entire persistence context.Helper methods for acquiringBrokerFactory
objectsThe broker is the primary interface into the OpenJPA runtime.Factory forBroker
instances.ConcreteBroker
.Unique id for state managers of new datastore instances without assigned object ids.Connection retain mode constants.DataCache Retrieve Modes.DataCache Store modesDelegating broker that can also perform exception translation for use in facades.Delegating broker factory that can also perform exception translation for use in facades.Delegating extent that also can perform exception translation for use in facades.Delegating fetch configuration that can also perform exception translation for use in facades.Delegating query that can also perform exception translation for use in facades.Delegating result list that can also perform exception translation for use in facades.Delegating sequence that can also perform exception translation for use in facades.Base class for store manager decorators that delegate to another store manager for some operations.Internal state manager for detached instances.Implementation ofOpenJPAStateManager
designed to retrieve values from a detached instance, including when managed by aDetachedStateManager
.Handles detaching instances.Handles detaching instances.Constants for which fields to include in the detach graph.An immutable list that imposes uniqueness on its member.Implementation of an expression-based query, which can handle String-based query expressions such as JPQL and JDOQL.Provides support for queries that hold query information in aQueryExpressions
instance.The DataStoreExecutor executes the query against the implementation's overriddenExpressionStoreQuery.DataStoreExecutor.executeQuery(org.apache.openjpa.kernel.StoreQuery, java.lang.Object[], org.apache.openjpa.kernel.StoreQuery.Range)
method.Runs the expression query in memory.Extent<T>Representation of all members of a persistent class.ExtentImpl<T>Representation of all members of a persistent class.Allows configuration and optimization of how objects are loaded from the data store.Allows configuration and optimization of how objects are loaded from the data store.Configurable state shared throughout a traversal chain.FillStrategy<T>A strategy to fill data into aResultShape
.Fills an array of given type.Populate an instance by simply assigning the 0-th element of the input values.Create and populate a bean by invoking setter methods identified by alias name with each array element value as argument.Populate an instance created by given factory using a given put(key,value) method.Construct and populate an instance by invoking the put method with each alias as key and element of the given array of values.Construct and populate an instance by the given constructor and arguments.Helper methods for dealing with query filters.Subtype ofBrokerImpl
that automatically closes itself during finalization.Allows facades to control the particulars of the find operation through callbacks.FinderCache<K,V, R> A cache to create and maintainfinder queries
.FinderQuery<K,V, R> A finder query is a query for an instance of a class by its primary key.ASavepointManager
implementation which stores all data in memory.Class which manages inverse relations before flushing to the datastore.Standard object lock levels.Handles obtaining and releasing locks on objects.Defines lock scope levels used for MixedLockManager.A query that is executed by a user-defined method.Defines lock levels used for MixedLockManager.A lock manager that does not perform any locking.An interface to create objects that are used by result processing.State manager used to access state of embedded object id primary key fields.Allows facades to control the particulars of persistence operations through callbacks.Represents a savepoint where operations afterwards can be rolled back and restored to this pointInterface implemented by OpenJPA state managers.Merged result object provider specialization that extracts ordering values from results for comparison.Holds data about a single persistence capable instance.DefaultPCData
implementation.Variant ofResultObjectProvider
that populates aOpenJPAStateManager
object in an application-defined manner.Base class for all lifecycle states.Lifecycle state.A prepared query associates a compiled query to a parsed state that can be executed possibly with more efficiency.A cache to create and maintainprepared queries
.A structure to describe the strength and reason for excluding a query from the cache.OpenJPA query interface.A query execution context.Constants for determining when to flush before queries.Standard query hint keys.Implementation of theQuery
interface.Struct of compiled query properties.Result object provider that packs results before returning them.Constants and utilities for query languages.Query operation constants.A callabck is used when a query results in multiple non-identical result sets.Records query execution statistics.A default implementation.A do-nothing implementation.State restore constants.Helper class to pack results into the result class set on the query.ResultShape<T>Describes the shape of a query result.Packs result by delegation to a ResultShape.FieldManager type used to store information for rollback.A manager for handling savepoints.Internal OpenJPA sequence interface.Implementation of theOpenJPAStateManager
interface for use with this runtime.Represents a set of managed objects and their environment.Interface to be implemented by data store mechanisms to interact with this runtime.Component that executes queries against the datastore.An executor provides a uniform interface to the mechanism for executing either an in-memory or datastore query.A query result range.A simplistic implementation of aSeq
used to provide datastore ids.Sequence for generating 32-character hex UUID strings.Sequence for generating 16-character UUID strings.Sequence for generating 32-character hex Type 4 UUID strings.Sequence for generating 16-character UUID strings.LockManager
implementation that provides support for version checking and version updating when locks are acquired.