Uses of Interface
org.apache.openjpa.kernel.OpenJPAStateManager
Package
Description
OpenJPA Abstract StoreManager Implementation
OpenJPA Data Cache
OpenJPA Events
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA-JDBC SQL Abstraction
OpenJPA Runtime Kernel
OpenJPA JPA
Extended OpenJPA Interfaces for distributed databases.
OpenJPA Utilities
XML Store
-
Uses of OpenJPAStateManager in org.apache.openjpa.abstractstore
Modifier and TypeMethodDescriptionprotected boolean
AbstractStoreManager.assignDataStoreId
(OpenJPAStateManager sm, Object val) Assign a new datastore identity to the given instance.boolean
AbstractStoreManager.assignField
(OpenJPAStateManager sm, int field, boolean preFlush) boolean
AbstractStoreManager.assignObjectId
(OpenJPAStateManager sm, boolean preFlush) void
AbstractStoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) int
AbstractStoreManager.compareVersion
(OpenJPAStateManager state, Object v1, Object v2) abstract boolean
AbstractStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) This method is invoked when OpenJPA needs to load an object whose identity is known but which has not yet been loaded from the data store.abstract boolean
AbstractStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object edata) This method is invoked when OpenJPA needs to load additional data into an object that has already been at least partially loaded by a previousAbstractStoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)
invocation.boolean
AbstractStoreManager.syncVersion
(OpenJPAStateManager sm, Object edata) Since this store manager does not provide optimistic locking support, this method always returnstrue
.Modifier and TypeMethodDescriptionAbstractStoreManager.flush
(Collection<OpenJPAStateManager> sms) Breaks downstates
based on the objects' current states, and delegates toAbstractStoreManager.flush(Collection,Collection,Collection,Collection,Collection)
.protected abstract Collection<Exception>
AbstractStoreManager.flush
(Collection<OpenJPAStateManager> pNew, Collection<OpenJPAStateManager> pNewUpdated, Collection<OpenJPAStateManager> pNewFlushedDeleted, Collection<OpenJPAStateManager> pDirty, Collection<OpenJPAStateManager> pDeleted) Responsible for writing modifications happened back to the data store.AbstractStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) This implementation just delegates to the proper singular method (StoreManager.initialize(org.apache.openjpa.kernel.OpenJPAStateManager, org.apache.openjpa.kernel.PCState, org.apache.openjpa.kernel.FetchConfiguration, java.lang.Object)
orStoreManager.load(org.apache.openjpa.kernel.OpenJPAStateManager, java.util.BitSet, org.apache.openjpa.kernel.FetchConfiguration, int, java.lang.Object)
) depending on each state manager's state. -
Uses of OpenJPAStateManager in org.apache.openjpa.datacache
Modifier and TypeMethodDescriptionprotected void
DataCachePCDataImpl.clearInverseRelationCache
(OpenJPAStateManager sm, FieldMetaData fmd) Check if this field is in use of "order by" by other field collections in inverse relation.QueryCacheStoreQuery.evaluate
(Object value, Object ob, Object[] params, OpenJPAStateManager sm) boolean
DataCacheStoreManager.exists
(OpenJPAStateManager sm, Object edata) boolean
DataCacheStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) boolean
DataCacheStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object edata) DataCachePCDataImpl.newEmbeddedPCData
(OpenJPAStateManager sm) AbstractDataCache.selectCache
(OpenJPAStateManager sm) CacheDistributionPolicy.selectCache
(OpenJPAStateManager sm, Object context) Selects the name of the cache where the given managed proxy object state be cached.DataCacheManager.selectCache
(OpenJPAStateManager sm) Select the cache where the given managed proxy instance should be cached.DataCacheManagerImpl.selectCache
(OpenJPAStateManager sm) Select cache for the given managed instance.DefaultCacheDistributionPolicy.selectCache
(OpenJPAStateManager sm, Object context) TypeBasedCacheDistributionPolicy.selectCache
(OpenJPAStateManager sm, Object context) void
DataCachePCDataImpl.store
(OpenJPAStateManager sm) void
DataCachePCDataImpl.store
(OpenJPAStateManager sm, BitSet fields) protected void
DataCachePCDataImpl.storeField
(OpenJPAStateManager sm, FieldMetaData fmd) Store field-level information from the given state manager.boolean
DataCacheStoreManager.syncVersion
(OpenJPAStateManager sm, Object edata) Modifier and TypeMethodDescriptionDataCacheStoreManager.flush
(Collection<OpenJPAStateManager> states) DataCacheStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) -
Uses of OpenJPAStateManager in org.apache.openjpa.event
Modifier and TypeMethodDescriptionExceptionOrphanedKeyAction.orphan
(Object oid, OpenJPAStateManager sm, ValueMetaData vmd) LogOrphanedKeyAction.orphan
(Object oid, OpenJPAStateManager sm, ValueMetaData vmd) NoneOrphanedKeyAction.orphan
(Object oid, OpenJPAStateManager sm, ValueMetaData vmd) OrphanedKeyAction.orphan
(Object oid, OpenJPAStateManager sm, ValueMetaData vmd) Callback received when OpenJPA discovers an orphaned key. -
Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.kernel
Modifier and TypeMethodDescriptionboolean
JDBCStoreManager.assignField
(OpenJPAStateManager sm, int field, boolean preFlush) boolean
JDBCStoreManager.assignObjectId
(OpenJPAStateManager sm, boolean preFlush) void
JDBCStoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) protected void
PessimisticLockManager.checkLock
(ResultSet rs, OpenJPAStateManager sm, int timeout) This method is to provide override for non-JDBC or JDBC-like implementation of checking lock from the result set.int
JDBCStoreManager.compareVersion
(OpenJPAStateManager state, Object v1, Object v2) protected void
AbstractUpdateManager.delete
(OpenJPAStateManager sm, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs) Recursive method to delete the given instance, base class last.JDBCStoreQuery.evaluate
(Object value, Object ob, Object[] params, OpenJPAStateManager sm) FinderQueryImpl.execute
(OpenJPAStateManager sm, StoreManager store, FetchConfiguration fetch) boolean
JDBCStoreManager.exists
(OpenJPAStateManager sm, Object context) protected void
JDBCStoreManager.getVersion
(ClassMapping mapping, OpenJPAStateManager sm, Result res) This method is to provide override for non-JDBC or JDBC-like implementation of getting version from the result set.boolean
JDBCStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) protected boolean
JDBCStoreManager.initializeState
(OpenJPAStateManager sm, PCState state, JDBCFetchConfiguration fetch, ConnectionInfo info) Initialize a newly-loaded instance.protected void
AbstractUpdateManager.insert
(OpenJPAStateManager sm, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs) Recursive method to insert the given instance, base class first.boolean
JDBCStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context) void
JDBCLockManager.loadedForUpdate
(OpenJPAStateManager sm) Notification that the given instance was loaded via a result set produced by a FOR UPDATE select.void
PessimisticLockManager.loadedForUpdate
(OpenJPAStateManager sm) protected void
MixedLockManager.lockInternal
(OpenJPAStateManager sm, int level, int timeout, Object sdata, boolean postLockVersionCheck) protected void
PessimisticLockManager.lockInternal
(OpenJPAStateManager sm, int level, int timeout, Object sdata, boolean postVersionCheck) protected void
MixedLockManager.optimisticLockInternal
(OpenJPAStateManager sm, int level, int timeout, Object sdata, boolean postLockVersionCheck) protected Collection
AbstractUpdateManager.populateRowManager
(OpenJPAStateManager sm, RowManager rowMgr, JDBCStore store, Collection exceps, Collection customs) Populate the row manager with rows to be flushed for the given state.boolean
JDBCStoreManager.select
(Select sel, ClassMapping mapping, int subs, OpenJPAStateManager sm, BitSet fields, JDBCFetchConfiguration fetch, int eager, boolean ident, boolean outer) For implementation use only.protected void
JDBCStoreManager.setMappedBy
(OpenJPAStateManager sm, FieldMapping mappedByFieldMapping, Object mappedByObject) boolean
JDBCStoreManager.syncVersion
(OpenJPAStateManager sm, Object context) protected void
AbstractUpdateManager.update
(OpenJPAStateManager sm, BitSet dirty, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs, boolean updateIndicators) Recursive method to update the given instance.protected void
AbstractUpdateManager.updateIndicators
(OpenJPAStateManager sm, ClassMapping mapping, RowManager rowMgr, JDBCStore store, Collection customs, boolean versionUpdateOnly) Update version and discriminator indicators. -
Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionvoid
Version.afterLoad
(OpenJPAStateManager sm, JDBCStore store) void
VersionStrategy.afterLoad
(OpenJPAStateManager sm, JDBCStore store) This method is called after data is loaded into the instance, in case the version indicator works off of a state image.boolean
Version.checkVersion
(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) boolean
VersionStrategy.checkVersion
(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) Checks the version of the given state manager with the version stored in memory.void
ClassMapping.customDelete
(OpenJPAStateManager sm, JDBCStore store) void
Discriminator.customDelete
(OpenJPAStateManager sm, JDBCStore store) void
FieldMapping.customDelete
(OpenJPAStateManager sm, JDBCStore store) void
Strategy.customDelete
(OpenJPAStateManager sm, JDBCStore store) Override this method to customize flushing this mapping.void
Version.customDelete
(OpenJPAStateManager sm, JDBCStore store) void
ClassMapping.customInsert
(OpenJPAStateManager sm, JDBCStore store) void
Discriminator.customInsert
(OpenJPAStateManager sm, JDBCStore store) void
FieldMapping.customInsert
(OpenJPAStateManager sm, JDBCStore store) void
Strategy.customInsert
(OpenJPAStateManager sm, JDBCStore store) Override this method to customize flushing this mapping.void
Version.customInsert
(OpenJPAStateManager sm, JDBCStore store) boolean
ClassMapping.customLoad
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result result) boolean
ClassMapping.customLoad
(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) boolean
ClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result result) Implement this method to customize loading from aResult
into an instance.boolean
ClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) Implement this method to load the state of a given object, without a previousResult
.void
ClassMapping.customUpdate
(OpenJPAStateManager sm, JDBCStore store) void
Discriminator.customUpdate
(OpenJPAStateManager sm, JDBCStore store) void
FieldMapping.customUpdate
(OpenJPAStateManager sm, JDBCStore store) void
Strategy.customUpdate
(OpenJPAStateManager sm, JDBCStore store) Override this method to customize flushing this mapping.void
Version.customUpdate
(OpenJPAStateManager sm, JDBCStore store) void
ClassMapping.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
Discriminator.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
FieldMapping.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
Strategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) Set the where values appropriately to delete the proper instance, and set all relations on non-secondary tables as updates.void
Version.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
FieldMapping.deleteRow
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) Delete the row for this object if the reference foreign key exists.DelegatingJoinable.getJoinValue
(OpenJPAStateManager sm, Column col, JDBCStore store) Joinable.getJoinValue
(OpenJPAStateManager sm, Column col, JDBCStore store) Return the join value of the given column.FieldMapping.getRow
(OpenJPAStateManager sm, JDBCStore store, RowManager rm, int action) Return the row to use for this field.void
ClassMapping.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
Discriminator.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
FieldMapping.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
Strategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) Set values for the mapping into the proper rows.void
Version.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) ClassMapping.isCustomDelete
(OpenJPAStateManager sm, JDBCStore store) Discriminator.isCustomDelete
(OpenJPAStateManager sm, JDBCStore store) FieldMapping.isCustomDelete
(OpenJPAStateManager sm, JDBCStore store) Strategy.isCustomDelete
(OpenJPAStateManager sm, JDBCStore store) ReturnBoolean.FALSE
if this mapping does not customize the delete process,Boolean.TRUE
if it does, or null if it does customize the delete, but also relies on the standard delete method being called.Version.isCustomDelete
(OpenJPAStateManager sm, JDBCStore store) ClassMapping.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) Discriminator.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) FieldMapping.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) Strategy.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) ReturnBoolean.FALSE
if this mapping does not customize the insert process,Boolean.TRUE
if it does, or null if it does customize the insert, but also relies on the standard insert method being called.Version.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) ClassMapping.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) Discriminator.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) FieldMapping.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) Strategy.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) ReturnBoolean.FALSE
if this mapping does not customize the update process,Boolean.TRUE
if it does, or null if it does customize the update, but also relies on the standard update method being called.Version.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) void
FieldMapping.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) void
FieldMapping.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
FieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) Load secondary data using a connection from the store manager.void
FieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Load virtual row data; the given result is not guaranteed to contain data for this field, so the field mapping should make sure the result contains its needed column data before loading.Version.load
(OpenJPAStateManager sm, JDBCStore store, Result res) Version.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) VersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res) Load data.VersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) Load data.void
FieldMapping.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
FieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Load the joined eager result.FieldMapping.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) FieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) Load the batched eager result.void
Embeddable.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) Load this strategy's field by transforming the given datastore value.int
FieldMapping.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) int
FieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) Select the virtual row columns of this mapping.void
FieldMapping.selectEagerJoin
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
FieldStrategy.selectEagerJoin
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) Fill in joined select to related objects.void
FieldMapping.selectEagerParallel
(SelectExecutor sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
FieldStrategy.selectEagerParallel
(SelectExecutor sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) Fill in parallel eager select for related objects.void
DelegatingJoinable.setAutoAssignedValue
(OpenJPAStateManager sm, JDBCStore store, Column col, Object autogen) void
Joinable.setAutoAssignedValue
(OpenJPAStateManager sm, JDBCStore store, Column col, Object autogen) Use the given auto-assigned value to set this join value's field on the given instance.void
FieldMapping.setForeignKey
(Row row, OpenJPAStateManager sm) void
FieldMapping.setForeignKey
(Row row, OpenJPAStateManager sm, int targetNumber) void
ValueMapping.setForeignKey
(Row row, OpenJPAStateManager rel) Sets this value's foreign key to the given related object.void
ValueMapping.setForeignKey
(Row row, OpenJPAStateManager rel, int targetNumber) Sets this value's foreign key to the given related object.void
ValueMappingImpl.setForeignKey
(Row row, OpenJPAStateManager rel) void
ValueMappingImpl.setForeignKey
(Row row, OpenJPAStateManager rel, int targetNumber) boolean
ClassMapping.supportsEagerSelect
(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch) boolean
ClassStrategy.supportsEagerSelect
(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch) Return true if this strategy can perform the given select from the givenbase
mapping.int
FieldMapping.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
FieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) Return whether this mapping can perform the given select type.ValueHandler.toObjectValue
(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) Translate the given datastore value into its Java equivalent.RelationId.toRelationDataStoreValue
(OpenJPAStateManager sm, Column col) Return the serialized value for the given related object, now that its id has been assigned.void
ClassMapping.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
Discriminator.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
FieldMapping.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
Strategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) Set values for the mapping into the proper rows.void
Version.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
FieldMapping.where
(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue) void
FieldStrategy.where
(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue) Add a WHERE condition to the row for this field such that the field's current DB value must equal the given previous value.void
FieldMapping.whereForeignKey
(Row row, OpenJPAStateManager sm) void
ValueMapping.whereForeignKey
(Row row, OpenJPAStateManager rel) Sets this value's foreign key to the given related object.void
ValueMappingImpl.whereForeignKey
(Row row, OpenJPAStateManager rel) void
FieldMapping.wherePrimaryKey
(Select sel, OpenJPAStateManager sm, JDBCStore store) Add awherePrimaryKey
orwhereForeignKey
condition to the given select, depending on whether we have a join foreign key. -
Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.meta.strats
Modifier and TypeMethodDescriptionstatic OpenJPAStateManager
RelationStrategies.getStateManager
(Object obj, StoreContext ctx) Return the state manager for the given instance, using a detached state manager if the instnace is not managed.Modifier and TypeMethodDescriptionvoid
AbstractVersionStrategy.afterLoad
(OpenJPAStateManager sm, JDBCStore store) void
StateComparisonVersionStrategy.afterLoad
(OpenJPAStateManager sm, JDBCStore store) void
SuperclassVersionStrategy.afterLoad
(OpenJPAStateManager sm, JDBCStore store) boolean
AbstractVersionStrategy.checkVersion
(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) boolean
ColumnVersionStrategy.checkVersion
(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) boolean
StateComparisonVersionStrategy.checkVersion
(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) boolean
SuperclassVersionStrategy.checkVersion
(OpenJPAStateManager sm, JDBCStore store, boolean updateVersion) void
AbstractStrategy.customDelete
(OpenJPAStateManager sm, JDBCStore store) void
EmbedFieldStrategy.customDelete
(OpenJPAStateManager sm, JDBCStore store) void
AbstractStrategy.customInsert
(OpenJPAStateManager sm, JDBCStore store) void
EmbedFieldStrategy.customInsert
(OpenJPAStateManager sm, JDBCStore store) void
LobFieldStrategy.customInsert
(OpenJPAStateManager sm, JDBCStore store) void
StateComparisonVersionStrategy.customInsert
(OpenJPAStateManager sm, JDBCStore store) This method is for class mappings that take over the insert process, but still want to use this indicator for optimistic locking.boolean
AbstractClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result result) boolean
AbstractClassStrategy.customLoad
(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch) void
AbstractStrategy.customUpdate
(OpenJPAStateManager sm, JDBCStore store) void
EmbedFieldStrategy.customUpdate
(OpenJPAStateManager sm, JDBCStore store) void
LobFieldStrategy.customUpdate
(OpenJPAStateManager sm, JDBCStore store) StateComparisonVersionStrategy.customUpdate
(OpenJPAStateManager sm, JDBCStore store, Table table, boolean record) This method is for class mappings that take over the update process, but still want to use this indicator for optimistic locking.void
AbstractStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
ColumnVersionStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
EmbedFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
EmbedFieldStrategy.delete
(OpenJPAStateManager owner, OpenJPAStateManager sm, JDBCStore store, RowManager rm, Row row) Delete an embedded object record.void
FullClassStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerCollectionTableFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerRelationMapTableFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
LobFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
MapTableFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
NoneClassStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
PrimitiveFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationCollectionTableFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationRelationMapTableFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationToManyInverseKeyFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationToManyTableFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
StringFieldStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
VerticalClassStrategy.delete
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) HandlerFieldStrategy.getJoinValue
(OpenJPAStateManager sm, Column col, JDBCStore store) PrimitiveFieldStrategy.getJoinValue
(OpenJPAStateManager sm, Column col, JDBCStore store) RelationFieldStrategy.getJoinValue
(OpenJPAStateManager sm, Column col, JDBCStore store) StringFieldStrategy.getJoinValue
(OpenJPAStateManager sm, Column col, JDBCStore store) EmbeddedClassStrategy.getNullIndicatorValue
(OpenJPAStateManager sm) Return the proper synthetic null indicator value for the given instance.Result[]
HandlerHandlerMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]
HandlerRelationMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) Result[]
LRSMapFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Return results containing all keys and values for this map.Result[]
RelationHandlerMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) Result[]
RelationMapInverseKeyFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]
RelationMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] joins, boolean lrs) Result[]
RelationRelationMapTableFieldStrategy.getResults
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode, Joins[] resJoins, boolean lrs) StateComparisonVersionStrategy.CustomUpdate.getRow
(Table table, int action, OpenJPAStateManager sm, boolean create) protected Object
MaxEmbeddedBlobFieldStrategy.getValue
(OpenJPAStateManager sm) protected Object
MaxEmbeddedByteArrayFieldStrategy.getValue
(OpenJPAStateManager sm) protected Object
MaxEmbeddedCharArrayFieldStrategy.getValue
(OpenJPAStateManager sm) protected Object
MaxEmbeddedClobFieldStrategy.getValue
(OpenJPAStateManager sm) void
AbstractStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
ColumnVersionStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
EmbedFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
EmbedFieldStrategy.insert
(OpenJPAStateManager owner, OpenJPAStateManager sm, JDBCStore store, RowManager rm, Row row) Insert an embedded object.void
FullClassStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerCollectionTableFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerHandlerMapTableFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerRelationMapTableFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
InValueDiscriminatorStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
LobFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
NoneClassStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
PrimitiveFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationCollectionTableFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationHandlerMapTableFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationRelationMapTableFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationToManyInverseKeyFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationToManyTableFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
StateComparisonVersionStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
StringFieldStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
VerticalClassStrategy.insert
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) protected Boolean
MaxEmbeddedBlobFieldStrategy.isCustom
(OpenJPAStateManager sm, JDBCStore store) protected Boolean
MaxEmbeddedByteArrayFieldStrategy.isCustom
(OpenJPAStateManager sm, JDBCStore store) protected Boolean
MaxEmbeddedCharArrayFieldStrategy.isCustom
(OpenJPAStateManager sm, JDBCStore store) protected Boolean
MaxEmbeddedClobFieldStrategy.isCustom
(OpenJPAStateManager sm, JDBCStore store) AbstractStrategy.isCustomDelete
(OpenJPAStateManager sm, JDBCStore store) EmbedFieldStrategy.isCustomDelete
(OpenJPAStateManager sm, JDBCStore store) AbstractStrategy.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) EmbedFieldStrategy.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) LobFieldStrategy.isCustomInsert
(OpenJPAStateManager sm, JDBCStore store) AbstractStrategy.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) EmbedFieldStrategy.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) LobFieldStrategy.isCustomUpdate
(OpenJPAStateManager sm, JDBCStore store) void
AbstractFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) void
AbstractFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) AbstractVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res) AbstractVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) ColumnVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res) ColumnVersionStrategy.load
(OpenJPAStateManager sm, JDBCStore store, Result res, Joins joins) void
EmbedFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
HandlerFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) void
HandlerFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
LobFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
MapTableFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) void
PrimitiveFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
RelationFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) void
RelationFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
StoreCollectionFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) void
StringFieldStrategy.load
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
AbstractFieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
RelationFieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) void
StoreCollectionFieldStrategy.loadEagerJoin
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res) AbstractFieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) RelationFieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) StoreCollectionFieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) HandlerCollectionTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSCollectionFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.RelationCollectionInverseKeyFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationCollectionTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected Object
RelationToManyInverseKeyFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected Object
RelationToManyTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected abstract Object
StoreCollectionFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.void
EmbedFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
HandlerFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
PrimitiveFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
RelationFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
StringFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) HandlerHandlerMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a key from the given result.RelationHandlerMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) static Object
HandlerStrategies.loadObject
(ValueMapping vm, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins, Column[] cols, boolean objectValueRequiresLoad) Load the Object value from the given result.HandlerHandlerMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a value from the given result.RelationHandlerMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected boolean
MapTableFieldStrategy.populateKey
(Row row, OpenJPAStateManager valsm, Object obj, StoreContext ctx, RowManager rm, JDBCStore store) protected void
MaxEmbeddedBlobFieldStrategy.putData
(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict) protected void
MaxEmbeddedByteArrayFieldStrategy.putData
(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict) protected void
MaxEmbeddedCharArrayFieldStrategy.putData
(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict) protected void
MaxEmbeddedClobFieldStrategy.putData
(OpenJPAStateManager sm, ResultSet rs, DBDictionary dict) int
AbstractFieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) int
EmbedFieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) int
HandlerFieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) int
LobFieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) int
PrimitiveFieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) int
RelationFieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) int
StringFieldStrategy.select
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) protected Joins
StoreCollectionFieldStrategy.selectAll
(Select sel, ClassMapping elem, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) Select data for loading, starting in field table.void
AbstractFieldStrategy.selectEagerJoin
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
RelationFieldStrategy.selectEagerJoin
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
StoreCollectionFieldStrategy.selectEagerJoin
(Select sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
AbstractFieldStrategy.selectEagerParallel
(SelectExecutor sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
RelationFieldStrategy.selectEagerParallel
(SelectExecutor sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
StoreCollectionFieldStrategy.selectEagerParallel
(SelectExecutor sel, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, int eagerMode) void
HandlerHandlerMapTableFieldStrategy.selectKey
(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
HandlerRelationMapTableFieldStrategy.selectKey
(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
LRSMapFieldStrategy.selectKey
(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) Implement this method to select the keys of this field.void
RelationHandlerMapTableFieldStrategy.selectKey
(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
RelationMapInverseKeyFieldStrategy.selectKey
(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
RelationMapTableFieldStrategy.selectKey
(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
RelationRelationMapTableFieldStrategy.selectKey
(Select sel, ClassMapping key, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
HandlerHandlerMapTableFieldStrategy.selectValue
(Select sel, ClassMapping cls, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
HandlerRelationMapTableFieldStrategy.selectValue
(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
LRSMapFieldStrategy.selectValue
(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) Implement this method to select the values of this field.void
RelationHandlerMapTableFieldStrategy.selectValue
(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
RelationMapInverseKeyFieldStrategy.selectValue
(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
RelationMapTableFieldStrategy.selectValue
(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
RelationRelationMapTableFieldStrategy.selectValue
(Select sel, ClassMapping val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) void
HandlerFieldStrategy.setAutoAssignedValue
(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) void
PrimitiveFieldStrategy.setAutoAssignedValue
(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) void
RelationFieldStrategy.setAutoAssignedValue
(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) void
StringFieldStrategy.setAutoAssignedValue
(OpenJPAStateManager sm, JDBCStore store, Column col, Object autoInc) boolean
AbstractClassStrategy.supportsEagerSelect
(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch) boolean
FullClassStrategy.supportsEagerSelect
(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch) boolean
VerticalClassStrategy.supportsEagerSelect
(Select sel, OpenJPAStateManager sm, JDBCStore store, ClassMapping base, JDBCFetchConfiguration fetch) int
AbstractFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
EmbedFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
HandlerCollectionTableFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
HandlerFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
LobFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
MapTableFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
PrimitiveFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
RelationFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
StoreCollectionFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) int
StringFieldStrategy.supportsSelect
(Select sel, int type, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) protected Object
EmbedValueHandler.toDataStoreValue
(OpenJPAStateManager em, ValueMapping vm, JDBCStore store, Column[] cols, Object rval, int idx) Helper to convert an object value to its datastore equivalent.protected int
EmbedValueHandler.toDataStoreValue1
(OpenJPAStateManager em, ValueMapping vm, JDBCStore store, Column[] cols, List rvals, int idx) AbstractValueHandler.toObjectValue
(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) ElementEmbedValueHandler.toObjectValue
(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) protected void
EmbedValueHandler.toObjectValue
(OpenJPAStateManager em, ValueMapping vm, Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx) Helper to convert a datastore value to its object equivalent.UntypedPCValueHandler.toObjectValue
(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) protected int
EmbedValueHandler.toObjectValue1
(OpenJPAStateManager em, ValueMapping vm, Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx) ElementEmbedValueHandler.toRelationDataStoreValue
(OpenJPAStateManager sm, Column col) UntypedPCValueHandler.toRelationDataStoreValue
(OpenJPAStateManager sm, Column col) void
AbstractStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
ColumnVersionStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
EmbedFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
EmbedFieldStrategy.update
(OpenJPAStateManager owner, OpenJPAStateManager sm, JDBCStore store, RowManager rm, Row row) Update an embedded object.void
FullClassStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerCollectionTableFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerHandlerMapTableFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
HandlerRelationMapTableFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
LobFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) protected void
MaxEmbeddedBlobFieldStrategy.update
(OpenJPAStateManager sm, Row row) protected void
MaxEmbeddedByteArrayFieldStrategy.update
(OpenJPAStateManager sm, Row row) protected void
MaxEmbeddedCharArrayFieldStrategy.update
(OpenJPAStateManager sm, Row row) protected void
MaxEmbeddedClobFieldStrategy.update
(OpenJPAStateManager sm, Row row) void
NoneClassStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
PrimitiveFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationCollectionTableFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationHandlerMapTableFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationRelationMapTableFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationToManyInverseKeyFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
RelationToManyTableFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
StateComparisonVersionStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
StringFieldStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
VerticalClassStrategy.update
(OpenJPAStateManager sm, JDBCStore store, RowManager rm) void
AbstractFieldStrategy.where
(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue) void
HandlerFieldStrategy.where
(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue) void
PrimitiveFieldStrategy.where
(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue) void
StringFieldStrategy.where
(OpenJPAStateManager sm, JDBCStore store, RowManager rm, Object prevValue) -
Uses of OpenJPAStateManager in org.apache.openjpa.jdbc.sql
Modifier and TypeMethodDescriptionPrimaryRow.getForeignKeySet
(ForeignKey fk) Return the value for the given foreign key.PrimaryRow.getForeignKeyWhere
(ForeignKey fk) Return the value for the given foreign key.PrimaryRow.getPrimaryKey()
Row.getPrimaryKey()
Return the instance that controls this row.RowImpl.getPrimaryKey()
This implementation does not track primary keys.PrimaryRow.getRelationIdSet
(Column col) Return the recorded value for the given relation id column.Modifier and TypeMethodDescriptionRowManager.getRow
(Table table, int action, OpenJPAStateManager sm, boolean create) Return the row for the given table and owner object, or null ifcreate
is false and the row has not already been created.RowManagerImpl.getRow
(Table table, int action, OpenJPAStateManager sm, boolean create) void
PrimaryRow.setForeignKey
(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm) void
PrimaryRow.setForeignKey
(ForeignKey fk, OpenJPAStateManager sm) void
Row.setForeignKey
(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm) Set the value of the given foreign key to the given object.void
Row.setForeignKey
(ForeignKey fk, OpenJPAStateManager sm) Set the value of the given foreign key to the given object.void
RowImpl.setForeignKey
(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm) void
RowImpl.setForeignKey
(ForeignKey fk, OpenJPAStateManager sm) void
SecondaryRow.setForeignKey
(ForeignKey fk, ColumnIO io, OpenJPAStateManager sm) void
SecondaryRow.setForeignKey
(ForeignKey fk, OpenJPAStateManager sm) void
PrimaryRow.setPrimaryKey
(ColumnIO io, OpenJPAStateManager sm) void
PrimaryRow.setPrimaryKey
(OpenJPAStateManager sm) void
Row.setPrimaryKey
(ColumnIO io, OpenJPAStateManager sm) Set the primary key to represent the given object.void
Row.setPrimaryKey
(OpenJPAStateManager sm) Set the primary key to represent the given object.void
RowImpl.setPrimaryKey
(ColumnIO io, OpenJPAStateManager sm) void
RowImpl.setPrimaryKey
(OpenJPAStateManager sm) void
PrimaryRow.setRelationId
(Column col, OpenJPAStateManager sm, RelationId rel) void
Row.setRelationId
(Column col, OpenJPAStateManager sm, RelationId rel) Set the value of the given column to the identity of given instance, using the given callback to create the column value.void
RowImpl.setRelationId
(Column col, OpenJPAStateManager sm, RelationId rel) void
SecondaryRow.setRelationId
(Column col, OpenJPAStateManager sm, RelationId rel) boolean
DBDictionary.validateBatchProcess
(RowImpl row, Column[] autoAssign, OpenJPAStateManager sm, ClassMapping cmd) Validate the batch process.boolean
DBDictionary.validateDBSpecificBatchProcess
(boolean disableBatch, RowImpl row, Column[] autoAssign, OpenJPAStateManager sm, ClassMapping cmd) Allow each Dictionary to validate its own batch process.void
PrimaryRow.whereForeignKey
(ForeignKey fk, OpenJPAStateManager sm) void
Row.whereForeignKey
(ForeignKey fk, OpenJPAStateManager sm) Set the foreign key equality criteria to link to the given object.void
RowImpl.whereForeignKey
(ForeignKey fk, OpenJPAStateManager sm) void
PrimaryRow.wherePrimaryKey
(OpenJPAStateManager sm) void
Row.wherePrimaryKey
(OpenJPAStateManager sm) Set the primary key equality criteria for this row.void
RowImpl.wherePrimaryKey
(OpenJPAStateManager sm) ModifierConstructorDescriptionprotected
PrimaryRow
(Column[] cols, int action, OpenJPAStateManager owner) PrimaryRow
(Table table, int action, OpenJPAStateManager owner) Constructor; supply table and action. -
Uses of OpenJPAStateManager in org.apache.openjpa.kernel
Modifier and TypeClassDescriptionclass
Internal state manager for detached instances.class
Implementation ofOpenJPAStateManager
designed to retrieve values from a detached instance, including when managed by aDetachedStateManager
.class
State manager used to access state of embedded object id primary key fields.class
Implementation of theOpenJPAStateManager
interface for use with this runtime.Modifier and TypeMethodDescriptionBrokerImpl.embed
(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta) DelegatingBroker.embed
(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta) StoreContext.embed
(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta) Make the given instance embedded.DetachedStateManager.getOwner()
DetachedValueStateManager.getOwner()
ObjectIdStateManager.getOwner()
OpenJPAStateManager.getOwner()
Return the owning state if this is an embedded instance.StateManagerImpl.getOwner()
BrokerImpl.getStateManager
(Object obj) DelegatingBroker.getStateManager
(Object obj) StoreContext.getStateManager
(Object obj) Return the state manager for the given instance.Broker.persist
(Object pc, Object id, OpCallbacks call) Make the given instance persistent.BrokerImpl.persist
(Object obj, Object id, boolean explicit, OpCallbacks call) Persist the given object.BrokerImpl.persist
(Object obj, Object id, boolean explicit, OpCallbacks call, boolean fireEvent) Persist the given object.BrokerImpl.persist
(Object obj, Object id, OpCallbacks call) DelegatingBroker.persist
(Object obj, Object id, OpCallbacks call) Modifier and TypeMethodDescriptionprotected void
InverseManager.addToCollection
(OpenJPAStateManager sm, FieldMetaData fmd, Object val) Add the given value to the collection at the selected field.boolean
DelegatingStoreManager.assignField
(OpenJPAStateManager sm, int field, boolean preFlush) boolean
StoreManager.assignField
(OpenJPAStateManager sm, int field, boolean preFlush) Assign a value to the given field.boolean
DelegatingStoreManager.assignObjectId
(OpenJPAStateManager sm, boolean preFlush) boolean
StoreManager.assignObjectId
(OpenJPAStateManager sm, boolean preFlush) Assign an object id to the given new instance.DetachedStateManager.attach
(AttachManager manager, Object toAttach, ClassMetaData meta, PersistenceCapable into, OpenJPAStateManager owner, ValueMetaData ownerMeta, boolean explicit) void
DelegatingStoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) void
StoreManager.beforeStateChange
(OpenJPAStateManager sm, PCState fromState, PCState toState) Notification that the given state manager is about to change its lifecycle state.protected void
InverseManager.clearInverseRelations
(OpenJPAStateManager sm, Object val, FieldMetaData fmd, FieldMetaData[] inverses) Clear all inverse the relations fromval
to the instance managed bysm
.protected void
InverseManager.clearInverseRelations
(OpenJPAStateManager sm, FieldMetaData fmd, FieldMetaData[] inverses, Object newValue) Remove all relations between the initial value offmd
for the instance managed bysm
and its inverses.int
DelegatingStoreManager.compareVersion
(OpenJPAStateManager state, Object v1, Object v2) int
StoreManager.compareVersion
(OpenJPAStateManager state, Object v1, Object v2) Compare the two version objects.void
InverseManager.correctRelations
(OpenJPAStateManager sm, FieldMetaData fmd, Object value) Correct relations from the given dirty field to inverse instances.BrokerImpl.embed
(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta) DelegatingBroker.embed
(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta) StoreContext.embed
(Object obj, Object id, OpenJPAStateManager owner, ValueMetaData ownerMeta) Make the given instance embedded.AbstractStoreQuery.evaluate
(Object value, Object ob, Object[] params, OpenJPAStateManager sm) StoreQuery.evaluate
(Object value, Object ob, Object[] params, OpenJPAStateManager sm) FinderQuery.execute
(OpenJPAStateManager sm, StoreManager store, FetchConfiguration fetch) Execute the query for a given instance.boolean
DelegatingStoreManager.exists
(OpenJPAStateManager sm, Object context) boolean
StoreManager.exists
(OpenJPAStateManager sm, Object edata) Verify that the given instance exists in the data store; return false if it does not.int
LockManager.getLockLevel
(OpenJPAStateManager sm) Return the lock level of the specified instance, orLockLevels.LOCK_NONE
if not locked.int
NoneLockManager.getLockLevel
(OpenJPAStateManager sm) int
VersionLockManager.getLockLevel
(OpenJPAStateManager sm) Returns the given instance's lock level, assuming that the state's lock object is a number.void
AbstractPCResultObjectProvider.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) boolean
DelegatingStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) void
PCResultObjectProvider.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch) Initializes the state manager.boolean
StoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object edata) Initialize the given state manager.protected abstract void
AbstractPCResultObjectProvider.load
(OpenJPAStateManager sm, FetchConfiguration fetch) Load data from the current input record into the given state manager.boolean
DelegatingStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context) void
PCData.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, Object context) Loads some or all of the marked fields from the cache into the given state manager.void
PCData.load
(OpenJPAStateManager sm, FetchConfiguration fetch, Object context) Loads all fields that are currently stored in the cache into the given state manager.void
PCDataImpl.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, Object context) void
PCDataImpl.load
(OpenJPAStateManager sm, FetchConfiguration fetch, Object context) boolean
StoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object edata) Load the given state manager.protected void
PCDataImpl.loadField
(OpenJPAStateManager sm, FieldMetaData fmd, FetchConfiguration fetch, Object context) Set field-level information into the given state manager.protected void
PCDataImpl.loadImplData
(OpenJPAStateManager sm) Set impl data information into the given state manager.protected void
PCDataImpl.loadImplData
(OpenJPAStateManager sm, FieldMetaData fmd) Set field-level impl data into the given state manager.protected void
PCDataImpl.loadIntermediate
(OpenJPAStateManager sm, FieldMetaData fmd) Set intermediate information for the given field into the state manager.protected void
PCDataImpl.loadVersion
(OpenJPAStateManager sm) Set version information into the given state manager.void
LockManager.lock
(OpenJPAStateManager sm, int level, int timeout, Object sdata) Obtain a lock on the specified object.void
NoneLockManager.lock
(OpenJPAStateManager sm, int level, int timeout, Object context) void
VersionLockManager.lock
(OpenJPAStateManager sm, int level, int timeout, Object sdata) Delegates toVersionLockManager.lockInternal(org.apache.openjpa.kernel.OpenJPAStateManager, int, int, java.lang.Object, boolean)
after traversing to owning instance (if embedded) and assuring that the instance is persistent, is not new, and is not already locked at a higher level.protected void
VersionLockManager.lockInternal
(OpenJPAStateManager sm, int level, int timeout, Object sdata, boolean postLockVersionCheck) Marks the instance's transactional status in accordance with the settings ofVersionLockManager.getVersionCheckOnReadLock()
andVersionLockManager.getVersionUpdateOnWriteLock()
.abstract AbstractPCData
AbstractPCData.newEmbeddedPCData
(OpenJPAStateManager sm) Create a new pcdata for holding the state of an embedded instance.PCDataImpl.newEmbeddedPCData
(OpenJPAStateManager sm) Return a newPCData
implementation of the right type for embedded instances.protected void
VersionLockManager.optimisticLockInternal
(OpenJPAStateManager sm, int level, int timeout, Object sdata, boolean postLockVersionCheck) int
OpCallbacks.processArgument
(int op, Object arg, OpenJPAStateManager sm) Process operation argument.BrokerImpl.processReturn
(Object oid, OpenJPAStateManager sm) FindCallbacks.processReturn
(Object oid, OpenJPAStateManager sm) Process operation return value.void
LockManager.refreshLock
(OpenJPAStateManager sm, int level, int timeout, Object sdata) Perform the same function as previous lock method and has the option to perform a version check after the lock function has completed.void
NoneLockManager.refreshLock
(OpenJPAStateManager sm, int level, int timeout, Object context) void
VersionLockManager.refreshLock
(OpenJPAStateManager sm, int level, int timeout, Object sdata) void
LockManager.release
(OpenJPAStateManager sm) Release the lock on the given object.void
NoneLockManager.release
(OpenJPAStateManager sm) void
VersionLockManager.release
(OpenJPAStateManager sm) Nulls given instance's lock object.protected void
InverseManager.removeFromCollection
(OpenJPAStateManager sm, FieldMetaData fmd, Object val) Remove the given instance from the collection.protected void
VersionLockManager.setLockLevel
(OpenJPAStateManager sm, int level) Sets the given instance's lock level to the given number.void
PCData.store
(OpenJPAStateManager sm) Store all loaded fields of the state manager.void
PCData.store
(OpenJPAStateManager sm, BitSet fields) Store the given fields from the state manager.void
PCDataImpl.store
(OpenJPAStateManager sm) void
PCDataImpl.store
(OpenJPAStateManager sm, BitSet fields) protected void
InverseManager.storeField
(OpenJPAStateManager sm, FieldMetaData fmd, Object compare, Object val) Store a given value at the given field.protected void
PCDataImpl.storeField
(OpenJPAStateManager sm, FieldMetaData fmd) Store field-level information from the given state manager.protected void
PCDataImpl.storeImplData
(OpenJPAStateManager sm) Store impl data from the given state manager.protected void
PCDataImpl.storeImplData
(OpenJPAStateManager sm, FieldMetaData fmd, boolean fieldLoaded) Store impl data for the given field.protected void
PCDataImpl.storeIntermediate
(OpenJPAStateManager sm, FieldMetaData fmd) Store the intermediate field value for the given field.protected void
InverseManager.storeNull
(OpenJPAStateManager sm, FieldMetaData fmd, Object compare) Store null value at the given field.protected void
PCDataImpl.storeVersion
(OpenJPAStateManager sm) Store version information from the given state manager.boolean
DelegatingStoreManager.syncVersion
(OpenJPAStateManager sm, Object context) boolean
StoreManager.syncVersion
(OpenJPAStateManager sm, Object edata) Update the version information in the given state manager to the version stored in the data store.protected void
InverseManager.throwException
(OpenJPAStateManager sm, FieldMetaData fmd) Throw an inconsistency exceptionprotected Object
AbstractPCData.toEmbeddedField
(OpenJPAStateManager sm, ValueMetaData vmd, Object data, FetchConfiguration fetch, Object context) Transform the given data into an embedded PC field value.protected Object
AbstractPCData.toField
(OpenJPAStateManager sm, FieldMetaData fmd, Object data, FetchConfiguration fetch, Object context) Transform the given data value into its field value.protected Object
AbstractPCData.toNestedField
(OpenJPAStateManager sm, ValueMetaData vmd, Object data, FetchConfiguration fetch, Object context) Transform the given data value to its field value.protected Collection
AbstractPCData.toNestedFields
(OpenJPAStateManager sm, ValueMetaData vmd, Collection data, FetchConfiguration fetch, Object context) Transform the given data value to its field value.protected Object
AbstractPCData.toRelationField
(OpenJPAStateManager sm, ValueMetaData vmd, Object data, FetchConfiguration fetch, Object context) Transform the given data into a relation field value.protected Object[]
AbstractPCData.toRelationFields
(OpenJPAStateManager sm, Object data, FetchConfiguration fetch) Transform the given data into relation field values.protected void
InverseManager.warnConsistency
(OpenJPAStateManager sm, FieldMetaData fmd) Log an inconsistency warningModifier and TypeMethodDescriptionDelegatingStoreManager.flush
(Collection<OpenJPAStateManager> sms) StoreManager.flush
(Collection<OpenJPAStateManager> sms) Flush the given state manager collection to the datastore, returning a collection of exceptions encountered during flushing.DelegatingStoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object context) StoreManager.loadAll
(Collection<OpenJPAStateManager> sms, PCState state, int load, FetchConfiguration fetch, Object edata) Initialize, load, or validate the existance of all of the given objects.ModifierConstructorDescriptionDetachedStateManager
(PersistenceCapable pc, OpenJPAStateManager sm, BitSet load, boolean access, boolean multithreaded) Constructor.ObjectIdStateManager
(Object oid, OpenJPAStateManager owner, ValueMetaData ownerVal) Constructor; supply embedded object id and its owner. -
Uses of OpenJPAStateManager in org.apache.openjpa.persistence
Modifier and TypeMethodDescriptionint
EntityManagerImpl.processArgument
(int op, Object obj, OpenJPAStateManager sm) EntityManagerImpl.processReturn
(Object oid, OpenJPAStateManager sm) -
Uses of OpenJPAStateManager in org.apache.openjpa.persistence.jest
Modifier and TypeMethodDescriptionstatic String
IOR.toString
(OpenJPAStateManager sm) Stringified representation of a managed instance identity.Modifier and TypeMethodDescriptionJSONObjectFormatter.encode
(Collection<OpenJPAStateManager> sms, jakarta.persistence.metamodel.Metamodel model) ObjectFormatter.encode
(Collection<OpenJPAStateManager> objs, jakarta.persistence.metamodel.Metamodel model) Encode thepersistent closure
of the given collection of managed instances as a resource e.g a XML or HTML document or an interactive document with JavaScript or a JSON array.XMLFormatter.encode
(Collection<OpenJPAStateManager> sms, jakarta.persistence.metamodel.Metamodel model) Encodes the closure of given collection of managed instance into a new XML document according to JEST Instance XML Schema.JSONObjectFormatter.writeOut
(Collection<OpenJPAStateManager> sms, jakarta.persistence.metamodel.Metamodel model, String title, String desc, String uri, OutputStream out) ObjectFormatter.writeOut
(Collection<OpenJPAStateManager> objs, jakarta.persistence.metamodel.Metamodel model, String title, String desc, String uri, OutputStream out) Encodes thepersistent closure
of the given collection of objects, then write it into the given output stream.XMLFormatter.writeOut
(Collection<OpenJPAStateManager> objs, jakarta.persistence.metamodel.Metamodel model, String title, String desc, String uri, OutputStream out) -
Uses of OpenJPAStateManager in org.apache.openjpa.slice
Modifier and TypeMethodDescriptionDistributedBrokerImpl.persist
(Object pc, Object id, boolean explicit, OpCallbacks call) Assigns slice identifier to the resultant StateManager as initialized by the super class implementation.Modifier and TypeMethodDescriptionstatic SliceInfo
SliceImplHelper.getSliceInfo
(OpenJPAStateManager sm) Gets the assigned slice information, if any, from the given StateManager.static SliceInfo
SliceImplHelper.getSlicesByPolicy
(OpenJPAStateManager sm, DistributedConfiguration conf, Object ctx) Gets the target slices for the given StateManager.static boolean
SliceImplHelper.isSliceAssigned
(OpenJPAStateManager sm) Affirms if the given StateManager has an assigned slice.SliceInfo.setInto
(OpenJPAStateManager sm) Sets this receiver as the given StateManager's internal instance-level data. -
Uses of OpenJPAStateManager in org.apache.openjpa.util
Modifier and TypeMethodDescriptionAbstractLRSProxyCollection.getOwner()
AbstractLRSProxyMap.getOwner()
Proxy.getOwner()
Return the owning object.Modifier and TypeMethodDescriptionstatic boolean
ApplicationIds.assign
(OpenJPAStateManager sm, StoreManager store, boolean preFlush) Assign an application identity object to the given state, or return false if determining the application identity requires a flush.static BitSet
ImplHelper.getUpdateFields
(OpenJPAStateManager sm) Returns the fields of the state that require an update.static boolean
Proxies.isOwner
(Proxy proxy, OpenJPAStateManager sm, int field) Used by proxy types to check if the given owners and field names are equivalent.void
AbstractLRSProxyCollection.setOwner
(OpenJPAStateManager sm, int field) void
AbstractLRSProxyMap.setOwner
(OpenJPAStateManager sm, int field) void
Proxy.setOwner
(OpenJPAStateManager sm, int field) Reset the state of the proxy, and set the owning instance of the proxy and the name of the field it is assigned to. -
Uses of OpenJPAStateManager in org.apache.openjpa.util.proxy
Modifier and TypeMethodDescriptionDelayedArrayListProxy.getDelayedOwner()
DelayedHashSetProxy.getDelayedOwner()
DelayedLinkedHashSetProxy.getDelayedOwner()
DelayedLinkedListProxy.getDelayedOwner()
DelayedPriorityQueueProxy.getDelayedOwner()
DelayedProxy.getDelayedOwner()
Returns a state manager that can service this proxy even if the collection was detached.DelayedTreeSetProxy.getDelayedOwner()
DelayedVectorProxy.getDelayedOwner()
DelayedArrayListProxy.getOwner()
DelayedHashSetProxy.getOwner()
DelayedLinkedHashSetProxy.getOwner()
DelayedLinkedListProxy.getOwner()
DelayedPriorityQueueProxy.getOwner()
DelayedTreeSetProxy.getOwner()
DelayedVectorProxy.getOwner()
DelayedArrayListProxy.getOwnerStateManager()
DelayedHashSetProxy.getOwnerStateManager()
DelayedLinkedHashSetProxy.getOwnerStateManager()
DelayedLinkedListProxy.getOwnerStateManager()
DelayedPriorityQueueProxy.getOwnerStateManager()
DelayedProxy.getOwnerStateManager()
Returns the state manager of the owning instance.DelayedTreeSetProxy.getOwnerStateManager()
DelayedVectorProxy.getOwnerStateManager()
Modifier and TypeMethodDescriptionvoid
DelayedArrayListProxy.setOwner
(OpenJPAStateManager paramOpenJPAStateManager, int paramInt) void
DelayedHashSetProxy.setOwner
(OpenJPAStateManager paramOpenJPAStateManager, int paramInt) void
DelayedLinkedHashSetProxy.setOwner
(OpenJPAStateManager paramOpenJPAStateManager, int paramInt) void
DelayedLinkedListProxy.setOwner
(OpenJPAStateManager paramOpenJPAStateManager, int paramInt) void
DelayedPriorityQueueProxy.setOwner
(OpenJPAStateManager paramOpenJPAStateManager, int paramInt) void
DelayedTreeSetProxy.setOwner
(OpenJPAStateManager paramOpenJPAStateManager, int paramInt) void
DelayedVectorProxy.setOwner
(OpenJPAStateManager paramOpenJPAStateManager, int paramInt) -
Uses of OpenJPAStateManager in org.apache.openjpa.xmlstore
Modifier and TypeMethodDescriptionboolean
XMLStoreManager.exists
(OpenJPAStateManager sm, Object context) boolean
XMLStoreManager.initialize
(OpenJPAStateManager sm, PCState state, FetchConfiguration fetch, Object context) void
ObjectData.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch) Load the data and version information for this object into the given state manager.void
ObjectData.load
(OpenJPAStateManager sm, FetchConfiguration fetch) Load the data and version information for this object into the given state manager.boolean
XMLStoreManager.load
(OpenJPAStateManager sm, BitSet fields, FetchConfiguration fetch, int lockLevel, Object context) void
ObjectData.store
(OpenJPAStateManager sm) Store the data and version information for this object from the given state manager.boolean
XMLStoreManager.syncVersion
(OpenJPAStateManager sm, Object context) Modifier and TypeMethodDescriptionprotected Collection
XMLStoreManager.flush
(Collection<OpenJPAStateManager> pNew, Collection<OpenJPAStateManager> pNewUpdated, Collection<OpenJPAStateManager> pNewFlushedDeleted, Collection<OpenJPAStateManager> pDirty, Collection<OpenJPAStateManager> pDeleted)