Package | Description |
---|---|
org.apache.openjpa.jdbc.kernel |
OpenJPA-JDBC Runtime Kernel
Runtime services for the JDBC OpenJPA implementation.
|
org.apache.openjpa.jdbc.kernel.exps |
OpenJPA-JDBC Expression Tree
|
org.apache.openjpa.jdbc.meta |
OpenJPA-JDBC ORM Metadata
This package extends the standard persistence metadata with
object-relational mapping information.
|
org.apache.openjpa.jdbc.meta.strats |
OpenJPA-JDBC ORM Strategies
Library of mapping strategies.
|
org.apache.openjpa.jdbc.sql |
OpenJPA-JDBC SQL Abstraction
Utilities for generating SQL.
|
org.apache.openjpa.slice.jdbc |
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
|
Modifier and Type | Class and Description |
---|---|
class |
JDBCStoreManager
StoreManager plugin that uses JDBC to store persistent data in a
relational data store.
|
Modifier and Type | Field and Description |
---|---|
protected JDBCStore |
PreparedStatementManagerImpl._store |
protected JDBCStore |
PessimisticLockManager._store |
Modifier and Type | Method and Description |
---|---|
JDBCStore |
SelectResultObjectProvider.getStore() |
JDBCStore |
PessimisticLockManager.getStore() |
JDBCStore |
JDBCStoreQuery.getStore()
Return the store.
|
JDBCStore |
SQLStoreQuery.getStore() |
Modifier and Type | Method and Description |
---|---|
protected void |
TableJDBCSeq.allocateInternal(int count,
JDBCStore store,
ClassMapping mapping) |
protected void |
NativeJDBCSeq.allocateInternal(int additional,
JDBCStore store,
ClassMapping mapping)
Allocate additional sequence values.
|
protected void |
AbstractJDBCSeq.allocateInternal(int additional,
JDBCStore store,
ClassMapping mapping)
Allocate additional sequence values.
|
protected Object |
TableJDBCSeq.currentInternal(JDBCStore store,
ClassMapping mapping) |
protected Object |
AbstractJDBCSeq.currentInternal(JDBCStore store,
ClassMapping mapping)
Return the current sequence object.
|
protected void |
AbstractUpdateManager.delete(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs)
Recursive method to delete the given instance, base class last.
|
void |
AbstractUpdateManager.CustomMapping.execute(JDBCStore store) |
protected ResultSet |
SQLStoreQuery.SQLExecutor.executeQuery(JDBCStore store,
Connection conn,
PreparedStatement stmnt,
SQLBuffer buf,
List paramList)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing query.
|
protected int |
SQLStoreQuery.SQLExecutor.executeUpdate(JDBCStore store,
Connection conn,
PreparedStatement stmnt,
SQLBuffer buf)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing update.
|
Collection |
AbstractUpdateManager.flush(Collection states,
JDBCStore store) |
Collection |
UpdateManager.flush(Collection states,
JDBCStore store)
Flush the given instances to the data store.
|
protected Collection |
AbstractUpdateManager.flush(Collection states,
JDBCStore store,
PreparedStatementManager psMgr) |
protected Connection |
AbstractJDBCSeq.getConnection(JDBCStore store)
Return the connection to use based on the type of sequence.
|
static BitSet |
PagingResultObjectProvider.getPagedFields(Select sel,
ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
long size)
Return a bit set representing batch select fields that will be paged,
or null if no fields need paging, which indicates that this provider
should not be used.
|
protected void |
AbstractUpdateManager.insert(OpenJPAStateManager sm,
ClassMapping mapping,
RowManager rowMgr,
JDBCStore store,
Collection customs)
Recursive method to insert the given instance, base class first.
|
protected abstract PreparedStatementManager |
AbstractUpdateManager.newPreparedStatementManager(JDBCStore store,
Connection conn)
Return a new
PreparedStatementManager . |
protected PreparedStatementManager |
BatchingConstraintUpdateManager.newPreparedStatementManager(JDBCStore store,
Connection conn) |
protected PreparedStatementManager |
BatchingOperationOrderUpdateManager.newPreparedStatementManager(JDBCStore store,
Connection conn) |
protected PreparedStatementManager |
ConstraintUpdateManager.newPreparedStatementManager(JDBCStore store,
Connection conn) |
protected PreparedStatementManager |
OperationOrderUpdateManager.newPreparedStatementManager(JDBCStore store,
Connection conn) |
protected Object |
TableJDBCSeq.nextInternal(JDBCStore store,
ClassMapping mapping) |
protected Object |
NativeJDBCSeq.nextInternal(JDBCStore store,
ClassMapping mapping) |
protected abstract Object |
AbstractJDBCSeq.nextInternal(JDBCStore store,
ClassMapping mapping)
Return the next sequence object.
|
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.
|
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.
|
Modifier and Type | Field and Description |
---|---|
JDBCStore |
ExpContext.store
Store.
|
Modifier and Type | Method and Description |
---|---|
void |
JDBCAggregateListener.appendTo(SQLBuffer buf,
FilterValue[] args,
ClassMapping mapping,
JDBCStore store)
Append the SQL for this aggregate.
|
void |
SQLEmbed.appendTo(SQLBuffer buf,
FilterValue target,
FilterValue[] args,
ClassMapping type,
JDBCStore store) |
void |
JDBCWildcardMatch.appendTo(SQLBuffer sql,
FilterValue target,
FilterValue[] args,
ClassMapping type,
JDBCStore store)
Deprecated.
|
void |
JDBCStringContains.appendTo(SQLBuffer buf,
FilterValue target,
FilterValue[] args,
ClassMapping type,
JDBCStore store)
Deprecated.
|
void |
GetColumn.appendTo(SQLBuffer buf,
FilterValue target,
FilterValue[] args,
ClassMapping type,
JDBCStore store) |
void |
JDBCFilterListener.appendTo(SQLBuffer buf,
FilterValue target,
FilterValue[] args,
ClassMapping mapping,
JDBCStore store)
Append the SQL for this expression or value.
|
Constructor and Description |
---|
ExpContext(JDBCStore store,
Object[] params,
JDBCFetchConfiguration fetch) |
Modifier and Type | Method and Description |
---|---|
void |
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 |
Strategy.customDelete(OpenJPAStateManager sm,
JDBCStore store)
Override this method to customize flushing this mapping.
|
void |
Discriminator.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
Version.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
ClassMapping.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldMapping.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
Strategy.customInsert(OpenJPAStateManager sm,
JDBCStore store)
Override this method to customize flushing this mapping.
|
void |
Discriminator.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
Version.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
ClassMapping.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldMapping.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
ResultObjectProvider |
ClassStrategy.customLoad(JDBCStore store,
boolean subclasses,
JDBCFetchConfiguration fetch,
long startIdx,
long endIdx)
Implement this method to customize obtaining a result containing all
instances of this class.
|
ResultObjectProvider |
ClassMapping.customLoad(JDBCStore store,
boolean subclasses,
JDBCFetchConfiguration fetch,
long startIdx,
long endIdx) |
boolean |
ClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result result)
Implement this method to customize loading from a
Result
into an instance. |
boolean |
ClassMapping.customLoad(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result result) |
boolean |
ClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
PCState state,
JDBCFetchConfiguration fetch)
Implement this method to load the state of a given object, without
a previous
Result . |
boolean |
ClassMapping.customLoad(OpenJPAStateManager sm,
JDBCStore store,
PCState state,
JDBCFetchConfiguration fetch) |
void |
Strategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store)
Override this method to customize flushing this mapping.
|
void |
Discriminator.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
Version.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
ClassMapping.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldMapping.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
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 |
Discriminator.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Version.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.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.
|
Class<?> |
Discriminator.getClass(JDBCStore store,
ClassMapping base,
Result result) |
Class<?> |
DiscriminatorStrategy.getClass(JDBCStore store,
ClassMapping base,
Result result)
Return the class for the current result row.
|
Object |
Joinable.getJoinValue(Object val,
Column col,
JDBCStore store)
Return the join value of the given column.
|
Object |
DelegatingJoinable.getJoinValue(Object val,
Column col,
JDBCStore store) |
Object |
Joinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store)
Return the join value of the given column.
|
Object |
DelegatingJoinable.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
ClassMapping.getObjectId(JDBCStore store,
Result res,
ForeignKey fk,
boolean subs,
Joins joins)
Return the oid value stored in the result.
|
Object |
Joinable.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins)
Return the value for this joinable from the given result, using the
given columns.
|
Object |
DelegatingJoinable.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Row |
FieldMapping.getRow(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
int action)
Return the row to use for this field.
|
void |
Strategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
void |
Discriminator.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Version.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
Boolean |
Strategy.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store)
Return
Boolean.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. |
Boolean |
Discriminator.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Version.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
ClassMapping.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
FieldMapping.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Strategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store)
Return
Boolean.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. |
Boolean |
Discriminator.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Version.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
ClassMapping.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
FieldMapping.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Strategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store)
Return
Boolean.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. |
Boolean |
Discriminator.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
Version.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
ClassMapping.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
FieldMapping.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
FieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch)
Load secondary data using a connection from the store manager.
|
void |
FieldMapping.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
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.
|
void |
FieldMapping.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
Object |
Version.load(OpenJPAStateManager sm,
JDBCStore store,
Result res) |
Object |
VersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res)
Load data.
|
Object |
Version.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
Object |
VersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins)
Load data.
|
void |
FieldStrategy.loadEagerJoin(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res)
Load the joined eager result.
|
void |
FieldMapping.loadEagerJoin(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
Object |
FieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res)
Load the batched eager result.
|
Object |
FieldMapping.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
void |
Embeddable.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val)
Load this strategy's field by transforming the given datastore value.
|
Object |
FieldStrategy.loadKeyProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load this field's key value using the given result.
|
Object |
FieldMapping.loadKeyProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
FieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load this field value using the given result.
|
Object |
FieldMapping.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
void |
Discriminator.loadSubclasses(JDBCStore store) |
void |
DiscriminatorStrategy.loadSubclasses(JDBCStore store)
Load all subclasses of the owning class mapping into the JVM.
|
int |
FieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode)
Select the virtual row columns of this mapping.
|
int |
FieldMapping.select(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.selectEagerJoin(Select 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 |
FieldMapping.selectEagerParallel(SelectExecutor sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
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 |
DelegatingJoinable.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autogen) |
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 given
base mapping. |
boolean |
ClassMapping.supportsEagerSelect(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
ClassMapping base,
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.
|
int |
FieldMapping.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
ClassMapping.toDataStoreValue(Object obj,
Column[] cols,
JDBCStore store)
Return the given column value(s) for the given object.
|
Object |
FieldStrategy.toDataStoreValue(Object val,
JDBCStore store)
Translate the given external field value to its datastore equivalent.
|
Object |
FieldMapping.toDataStoreValue(Object val,
JDBCStore store) |
Object |
ValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store)
Translate the given value to its datastore equivalent.
|
Object |
Embeddable.toEmbeddedDataStoreValue(Object val,
JDBCStore store)
Convert the given Java value to its datastore equivalent.
|
Object |
FieldStrategy.toKeyDataStoreValue(Object val,
JDBCStore store)
Translate the given key value to its datastore equivalent.
|
Object |
FieldMapping.toKeyDataStoreValue(Object val,
JDBCStore store) |
Object |
ValueHandler.toObjectValue(ValueMapping vm,
Object val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch)
Translate the given datastore value into its Java equivalent.
|
void |
Strategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm)
Set values for the mapping into the proper rows.
|
void |
Discriminator.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
Version.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ClassMapping.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FieldMapping.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
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.where(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm,
Object prevValue) |
void |
FieldMapping.wherePrimaryKey(Select sel,
OpenJPAStateManager sm,
JDBCStore store)
Add a
wherePrimaryKey or whereForeignKey
condition to the given select, depending on whether we have a join
foreign key. |
Modifier and Type | Method and Description |
---|---|
protected void |
RelationMapInverseKeyFieldStrategy.add(JDBCStore store,
Object coll,
Object obj) |
protected void |
RelationMapTableFieldStrategy.add(JDBCStore store,
Object coll,
Object obj) |
protected void |
StoreCollectionFieldStrategy.add(JDBCStore store,
Object coll,
Object obj)
Add an item to the data structure representing a field value.
|
void |
SuperclassVersionStrategy.afterLoad(OpenJPAStateManager sm,
JDBCStore store) |
void |
StateComparisonVersionStrategy.afterLoad(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractVersionStrategy.afterLoad(OpenJPAStateManager sm,
JDBCStore store) |
boolean |
SuperclassVersionStrategy.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 |
AbstractVersionStrategy.checkVersion(OpenJPAStateManager sm,
JDBCStore store,
boolean updateVersion) |
void |
AbstractStrategy.customDelete(OpenJPAStateManager sm,
JDBCStore store) |
void |
EmbedFieldStrategy.customDelete(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.
|
void |
LobFieldStrategy.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractStrategy.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
void |
EmbedFieldStrategy.customInsert(OpenJPAStateManager sm,
JDBCStore store) |
ResultObjectProvider |
AbstractClassStrategy.customLoad(JDBCStore store,
boolean subclasses,
JDBCFetchConfiguration fetch,
long startIdx,
long endIdx) |
boolean |
AbstractClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result result) |
boolean |
AbstractClassStrategy.customLoad(OpenJPAStateManager sm,
JDBCStore store,
PCState state,
JDBCFetchConfiguration fetch) |
void |
LobFieldStrategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractStrategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
EmbedFieldStrategy.customUpdate(OpenJPAStateManager sm,
JDBCStore store) |
StateComparisonVersionStrategy.CustomUpdate |
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 |
HandlerRelationMapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
VerticalClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
MapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.delete(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.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.
|
Object |
RelationMapInverseKeyFieldStrategy.deriveKey(JDBCStore store,
Object value) |
Object |
LRSMapFieldStrategy.deriveKey(JDBCStore store,
Object value)
Some mapping derive keys from map values.
|
Object |
RelationMapTableFieldStrategy.deriveKey(JDBCStore store,
Object value) |
Object |
MapTableFieldStrategy.deriveKey(JDBCStore store,
Object value) |
Object |
RelationMapInverseKeyFieldStrategy.deriveValue(JDBCStore store,
Object key) |
Object |
LRSMapFieldStrategy.deriveValue(JDBCStore store,
Object key)
Some mapping derive values from map keys.
|
Object |
RelationMapTableFieldStrategy.deriveValue(JDBCStore store,
Object key) |
Object |
MapTableFieldStrategy.deriveValue(JDBCStore store,
Object key) |
Class |
SubclassJoinDiscriminatorStrategy.getClass(JDBCStore store,
ClassMapping base,
Result res) |
Class |
SuperclassDiscriminatorStrategy.getClass(JDBCStore store,
ClassMapping base,
Result res) |
Class |
AbstractDiscriminatorStrategy.getClass(JDBCStore store,
ClassMapping base,
Result result) |
Class |
InValueDiscriminatorStrategy.getClass(JDBCStore store,
ClassMapping base,
Result res) |
protected Class |
ClassNameDiscriminatorStrategy.getClass(Object val,
JDBCStore store) |
protected Class |
ValueMapDiscriminatorStrategy.getClass(Object val,
JDBCStore store) |
protected abstract Class |
InValueDiscriminatorStrategy.getClass(Object val,
JDBCStore store)
Convert the given discriminator value to the corresponding class.
|
Object |
HandlerFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
PrimitiveFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
StringFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
RelationFieldStrategy.getJoinValue(Object fieldVal,
Column col,
JDBCStore store) |
Object |
HandlerFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
PrimitiveFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
StringFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
RelationFieldStrategy.getJoinValue(OpenJPAStateManager sm,
Column col,
JDBCStore store) |
Object |
HandlerFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
PrimitiveFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
StringFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Object |
RelationFieldStrategy.getPrimaryKeyValue(Result res,
Column[] cols,
ForeignKey fk,
JDBCStore store,
Joins joins) |
Result[] |
HandlerRelationMapTableFieldStrategy.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[] |
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[] |
RelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
Result[] |
RelationHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
RelationRelationMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] resJoins,
boolean lrs) |
Result[] |
HandlerHandlerMapTableFieldStrategy.getResults(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins[] joins,
boolean lrs) |
void |
HandlerRelationMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
VerticalClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationHandlerMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StateComparisonVersionStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerHandlerMapTableFieldStrategy.insert(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
InValueDiscriminatorStrategy.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.
|
protected Boolean |
MaxEmbeddedCharArrayFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
protected Boolean |
MaxEmbeddedClobFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
protected Boolean |
MaxEmbeddedByteArrayFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
protected Boolean |
MaxEmbeddedBlobFieldStrategy.isCustom(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
AbstractStrategy.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
EmbedFieldStrategy.isCustomDelete(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
LobFieldStrategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
AbstractStrategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
EmbedFieldStrategy.isCustomInsert(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
LobFieldStrategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
AbstractStrategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
Boolean |
EmbedFieldStrategy.isCustomUpdate(OpenJPAStateManager sm,
JDBCStore store) |
void |
AbstractFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
HandlerFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
RelationFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
MapTableFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
StoreCollectionFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
AbstractFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
HandlerFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
PrimitiveFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
StringFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
RelationFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
LobFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
void |
EmbedFieldStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res) |
Object |
ColumnVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res) |
Object |
AbstractVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res) |
Object |
ColumnVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
Object |
AbstractVersionStrategy.load(OpenJPAStateManager sm,
JDBCStore store,
Result res,
Joins joins) |
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) |
Object |
AbstractFieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
Object |
RelationFieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
Object |
StoreCollectionFieldStrategy.loadEagerParallel(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object res) |
Object |
HandlerCollectionTableFieldStrategy.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) |
Object |
RelationCollectionInverseKeyFieldStrategy.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) |
Object |
RelationCollectionTableFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSCollectionFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load an element of the collection.
|
protected abstract Object |
StoreCollectionFieldStrategy.loadElement(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load an element of the collection.
|
void |
HandlerFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
PrimitiveFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
StringFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
RelationFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
void |
EmbedFieldStrategy.loadEmbedded(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Object val) |
Object |
HandlerRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapInverseKeyFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSMapFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load a key from the given result.
|
Object |
RelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationRelationMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerHandlerMapTableFieldStrategy.loadKey(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
AbstractFieldStrategy.loadKeyProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
MapTableFieldStrategy.loadKeyProjection(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.
|
Object |
AbstractFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
PrimitiveFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
StringFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
MapTableFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
StoreCollectionFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
EmbedFieldStrategy.loadProjection(JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Loading embed object without instantiating owner entity
|
void |
ClassNameDiscriminatorStrategy.loadSubclasses(JDBCStore store) |
void |
SuperclassDiscriminatorStrategy.loadSubclasses(JDBCStore store) |
void |
AbstractDiscriminatorStrategy.loadSubclasses(JDBCStore store)
By default, logs a warning that this discriminator cannot calculate
its list of subclasses on its own.
|
Object |
HandlerRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationMapInverseKeyFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
LRSMapFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins)
Load a value from the given result.
|
Object |
RelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationHandlerMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
RelationRelationMapTableFieldStrategy.loadValue(OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Result res,
Joins joins) |
Object |
HandlerHandlerMapTableFieldStrategy.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) |
int |
AbstractFieldStrategy.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 |
PrimitiveFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
StringFieldStrategy.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 |
LobFieldStrategy.select(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode) |
int |
EmbedFieldStrategy.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 |
HandlerCollectionTableFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
protected void |
RelationToManyInverseKeyFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
void |
RelationCollectionInverseKeyFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
protected void |
RelationToManyTableFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
void |
RelationCollectionTableFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins) |
void |
LRSCollectionFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins)
Implement this method to select the elements of this field for the
given element mapping from
LRSCollectionFieldStrategy.getIndependentElementMappings(boolean)
(or null). |
protected abstract void |
StoreCollectionFieldStrategy.selectElement(Select sel,
ClassMapping elem,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eagerMode,
Joins joins)
Implement this method to select the elements of this field for the
given element mapping from
ContainerFieldStrategy.getIndependentElementMappings(boolean)
(or null). |
void |
HandlerRelationMapTableFieldStrategy.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 |
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 |
RelationMapTableFieldStrategy.selectKey(Select sel,
ClassMapping key,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationHandlerMapTableFieldStrategy.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.selectKey(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 |
RelationMapInverseKeyFieldStrategy.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 |
RelationMapTableFieldStrategy.selectValue(Select sel,
ClassMapping val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
RelationHandlerMapTableFieldStrategy.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 |
HandlerHandlerMapTableFieldStrategy.selectValue(Select sel,
ClassMapping cls,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
static boolean |
HandlerStrategies.set(ValueMapping vm,
Object val,
JDBCStore store,
Row row,
Column[] cols,
ColumnIO io,
boolean nullNone)
Set the given value into the given row.
|
void |
HandlerFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
PrimitiveFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
StringFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
RelationFieldStrategy.setAutoAssignedValue(OpenJPAStateManager sm,
JDBCStore store,
Column col,
Object autoInc) |
void |
HandlerRelationMapTableFieldStrategy.setKey(Object keyObj,
JDBCStore store,
Row row) |
boolean |
VerticalClassStrategy.supportsEagerSelect(Select sel,
OpenJPAStateManager sm,
JDBCStore store,
ClassMapping base,
JDBCFetchConfiguration fetch) |
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) |
int |
HandlerCollectionTableFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
AbstractFieldStrategy.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 |
PrimitiveFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
StringFieldStrategy.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 |
MapTableFieldStrategy.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 |
StoreCollectionFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
int |
EmbedFieldStrategy.supportsSelect(Select sel,
int type,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
HandlerRelationMapTableFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
HandlerCollectionTableFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
AbstractFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationToManyInverseKeyFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
HandlerFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
StringFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationToManyTableFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationHandlerMapTableFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationRelationMapTableFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
HandlerHandlerMapTableFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
Object |
EmbedFieldStrategy.toDataStoreValue(Object val,
JDBCStore store) |
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.
|
static Object |
HandlerStrategies.toDataStoreValue(ValueMapping vm,
Object val,
Column[] cols,
JDBCStore store)
Convert the given object to its datastore value(s).
|
static Object |
RelationStrategies.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store)
Return the given object as its foreign key values.
|
Object |
EnumValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
AbstractValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
UntypedPCValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
ByteArrayValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
CharArrayValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
ObjectIdValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
XMLValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
ImmutableValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
ElementEmbedValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
Object |
CharArrayStreamValueHandler.toDataStoreValue(ValueMapping vm,
Object val,
JDBCStore store) |
protected int |
EmbedValueHandler.toDataStoreValue1(OpenJPAStateManager em,
ValueMapping vm,
JDBCStore store,
Column[] cols,
List rvals,
int idx) |
Object |
HandlerFieldStrategy.toEmbeddedDataStoreValue(Object val,
JDBCStore store) |
Object |
PrimitiveFieldStrategy.toEmbeddedDataStoreValue(Object val,
JDBCStore store) |
Object |
StringFieldStrategy.toEmbeddedDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationFieldStrategy.toEmbeddedDataStoreValue(Object val,
JDBCStore store) |
Object |
EmbedFieldStrategy.toEmbeddedDataStoreValue(Object val,
JDBCStore store) |
Object |
HandlerRelationMapTableFieldStrategy.toKeyDataStoreValue(Object val,
JDBCStore store) |
Object |
AbstractFieldStrategy.toKeyDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationHandlerMapTableFieldStrategy.toKeyDataStoreValue(Object val,
JDBCStore store) |
Object |
RelationRelationMapTableFieldStrategy.toKeyDataStoreValue(Object val,
JDBCStore store) |
Object |
HandlerHandlerMapTableFieldStrategy.toKeyDataStoreValue(Object val,
JDBCStore store) |
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.
|
Object |
AbstractValueHandler.toObjectValue(ValueMapping vm,
Object val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
UntypedPCValueHandler.toObjectValue(ValueMapping vm,
Object val,
OpenJPAStateManager sm,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
ElementEmbedValueHandler.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) |
void |
HandlerRelationMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
NoneClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerCollectionTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyInverseKeyFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
PrimitiveFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StringFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
VerticalClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationToManyTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationCollectionTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
ColumnVersionStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationHandlerMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
StateComparisonVersionStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
FullClassStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
RelationRelationMapTableFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
LobFieldStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
AbstractStrategy.update(OpenJPAStateManager sm,
JDBCStore store,
RowManager rm) |
void |
HandlerHandlerMapTableFieldStrategy.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 |
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) |
static void |
HandlerStrategies.where(ValueMapping vm,
Object val,
JDBCStore store,
Row row,
Column[] cols)
Add where conditions to the given row.
|
Modifier and Type | Method and Description |
---|---|
JDBCStore |
ResultSetResult.getStore()
Optional store manager used to deserialize blobs containing
references to persistent objects.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DBDictionary.appendUpdates(Select sel,
JDBCStore store,
SQLBuffer sql,
Object[] params,
Map updateParams,
boolean allowAlias) |
void |
DBDictionary.deleteStream(JDBCStore store,
Select sel) |
void |
PostgresDictionary.deleteStream(JDBCStore store,
Select sel) |
Result |
LogicalUnion.execute(JDBCStore store,
JDBCFetchConfiguration fetch) |
Result |
LogicalUnion.UnionSelect.execute(JDBCStore store,
JDBCFetchConfiguration fetch) |
Result |
SelectImpl.execute(JDBCStore store,
JDBCFetchConfiguration fetch) |
Result |
SelectExecutor.execute(JDBCStore store,
JDBCFetchConfiguration fetch)
Execute this select in the context of the given store manager.
|
Result |
LogicalUnion.execute(JDBCStore store,
JDBCFetchConfiguration fetch,
int lockLevel) |
Result |
LogicalUnion.UnionSelect.execute(JDBCStore store,
JDBCFetchConfiguration fetch,
int lockLevel) |
Result |
SelectImpl.execute(JDBCStore store,
JDBCFetchConfiguration fetch,
int lockLevel) |
Result |
SelectExecutor.execute(JDBCStore store,
JDBCFetchConfiguration fetch,
int lockLevel)
Execute this select in the context of the given store manager.
|
protected Result |
SelectImpl.execute(StoreContext ctx,
JDBCStore store,
JDBCFetchConfiguration fetch,
int lockLevel)
Execute this select in the context of the given store manager.
|
protected ResultSet |
SelectImpl.executeQuery(Connection conn,
PreparedStatement stmnt,
SQLBuffer sql,
boolean isLRS,
JDBCStore store)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing query.
|
ResultSet |
SelectImpl.executeQuery(Connection conn,
PreparedStatement stmnt,
String sql,
JDBCStore store,
Object[] params,
Column[] cols)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing query.
|
void |
RowImpl.flush(PreparedStatement stmnt,
DBDictionary dict,
JDBCStore store)
Flush the row's values to the given prepared statement.
|
void |
RowImpl.flush(PreparedStatement stmnt,
int idx,
DBDictionary dict,
JDBCStore store)
Flush the row's values to the given prepared statement.
|
Object |
DBDictionary.getBlobObject(ResultSet rs,
int column,
JDBCStore store)
Convert the specified column of the SQL ResultSet to the proper
java type.
|
Object |
MySQLDictionary.getBlobObject(ResultSet rs,
int column,
JDBCStore store) |
Object |
MariaDBDictionary.getBlobObject(ResultSet rs,
int column,
JDBCStore store) |
int |
LogicalUnion.getCount(JDBCStore store) |
int |
LogicalUnion.UnionSelect.getCount(JDBCStore store) |
int |
SelectImpl.getCount(JDBCStore store) |
int |
SelectExecutor.getCount(JDBCStore store)
Return the number of instances matching this select.
|
Result |
SelectImpl.getEagerResult(Connection conn,
PreparedStatement stmnt,
ResultSet rs,
JDBCStore store,
JDBCFetchConfiguration fetch,
boolean forUpdate,
SQLBuffer sql)
This method is to provide override for non-JDBC or JDBC-like
implementation of executing eager selects.
|
InputStream |
MergedResult.getLOBStream(JDBCStore store,
Object obj) |
InputStream |
AbstractResult.getLOBStream(JDBCStore store,
Object obj) |
InputStream |
Result.getLOBStream(JDBCStore store,
Object obj) |
InputStream |
SQLServerDictionary.getLOBStream(JDBCStore store,
ResultSet rs,
int column)
|
InputStream |
DBDictionary.getLOBStream(JDBCStore store,
ResultSet rs,
int column) |
InputStream |
PostgresDictionary.getLOBStream(JDBCStore store,
ResultSet rs,
int column) |
protected InputStream |
ResultSetResult.getLOBStreamInternal(JDBCStore store,
Object obj,
Joins joins) |
protected InputStream |
AbstractResult.getLOBStreamInternal(JDBCStore store,
Object obj,
Joins joins) |
protected Object |
ResultSetResult.getStreamInternal(JDBCStore store,
Object obj,
int metaTypeCode,
Object arg,
Joins joins) |
protected abstract Object |
AbstractResult.getStreamInternal(JDBCStore store,
Object obj,
int metaType,
Object arg,
Joins joins) |
void |
Select.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch)
Group by the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
SelectImpl.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch) |
void |
Select.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Group by the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
SelectImpl.groupBy(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
DBDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
PostgresDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
OracleDictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
void |
DB2Dictionary.insertBlobForStreamingLoad(Row row,
Column col,
JDBCStore store,
Object ob,
Select sel) |
Object |
MergedResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
AbstractResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch) |
Object |
Result.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch)
Load a pc object using the given store manager.
|
Object |
MergedResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
Object |
AbstractResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
Object |
Result.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins)
Load a pc object using the given store manager.
|
Object |
SelectImpl.SelectResult.load(ClassMapping mapping,
JDBCStore store,
JDBCFetchConfiguration fetch,
Joins joins) |
void |
Select.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager)
Select the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager) |
void |
SelectImpl.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager) |
void |
Select.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins)
Select the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
void |
SelectImpl.select(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
void |
Select.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager)
Select the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager) |
void |
SelectImpl.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager) |
void |
Select.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins)
Select the columns of the given mapping, possibly including subclasses.
|
void |
LogicalUnion.UnionSelect.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
void |
SelectImpl.selectIdentifier(ClassMapping mapping,
int subclasses,
JDBCStore store,
JDBCFetchConfiguration fetch,
int eager,
Joins joins) |
byte[] |
DBDictionary.serialize(Object val,
JDBCStore store)
Return the serialized bytes for the given object.
|
void |
DBDictionary.setBlobObject(PreparedStatement stmnt,
int idx,
Object val,
Column col,
JDBCStore store)
Set the given value as a parameter to the statement.
|
void |
ResultSetResult.setStore(JDBCStore store)
Optional store manager used to deserialize blobs containing
references to persistent objects.
|
void |
DBDictionary.setTyped(PreparedStatement stmnt,
int idx,
Object val,
Column col,
int type,
JDBCStore store)
Set a column value into a prepared statement.
|
protected SQLBuffer |
DBDictionary.toBulkOperation(ClassMapping mapping,
Select sel,
JDBCStore store,
Object[] params,
Map updateParams)
Returns the SQL for a bulk operation, either a DELETE or an UPDATE.
|
SQLBuffer |
DBDictionary.toUpdate(ClassMapping mapping,
Select sel,
JDBCStore store,
Object[] params,
Map updates) |
void |
DBDictionary.updateBlob(Select sel,
JDBCStore store,
InputStream is) |
void |
PostgresDictionary.updateBlob(Select sel,
JDBCStore store,
InputStream is) |
void |
DB2Dictionary.updateBlob(Select sel,
JDBCStore store,
InputStream is) |
void |
DBDictionary.updateClob(Select sel,
JDBCStore store,
Reader reader) |
void |
DB2Dictionary.updateClob(Select sel,
JDBCStore store,
Reader reader) |
void |
Select.whereForeignKey(ForeignKey fk,
Object oid,
ClassMapping mapping,
JDBCStore store)
Add where conditions setting the given foreign key to the given
oid values.
|
void |
LogicalUnion.UnionSelect.whereForeignKey(ForeignKey fk,
Object oid,
ClassMapping mapping,
JDBCStore store) |
void |
SelectImpl.whereForeignKey(ForeignKey fk,
Object oid,
ClassMapping mapping,
JDBCStore store) |
void |
Select.wherePrimaryKey(Object oid,
ClassMapping mapping,
JDBCStore store)
Add where conditions setting the mapping's primary key to the given
oid values.
|
void |
LogicalUnion.UnionSelect.wherePrimaryKey(Object oid,
ClassMapping mapping,
JDBCStore store) |
void |
SelectImpl.wherePrimaryKey(Object oid,
ClassMapping mapping,
JDBCStore store) |
Constructor and Description |
---|
ResultSetResult(Connection conn,
Statement stmnt,
ResultSet rs,
JDBCStore store)
Constructor.
|
ResultSetResult(ResultSet rs,
JDBCStore store)
JDBC 2 constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
SliceStoreManager
A specialized JDBCStoreManager for a slice.
|
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.