Uses of Interface
org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration
-
Packages that use JDBCFetchConfiguration Package Description org.apache.openjpa.jdbc.kernel OpenJPA-JDBC Runtime Kernelorg.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Treeorg.apache.openjpa.jdbc.meta OpenJPA-JDBC ORM Metadataorg.apache.openjpa.jdbc.meta.strats OpenJPA-JDBC ORM Strategiesorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstractionorg.apache.openjpa.slice.jdbc Implements Distributed version of JDBCStoreManager and JDBCStoreQuery. -
-
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.kernel
Classes in org.apache.openjpa.jdbc.kernel that implement JDBCFetchConfiguration Modifier and Type Class Description class
DelegatingJDBCFetchConfiguration
Delegating fetch configuration that can also perform exception transation for use in facades.class
JDBCFetchConfigurationImpl
JDBC extensions to OpenJPA'sFetchConfiguration
.Methods in org.apache.openjpa.jdbc.kernel that return JDBCFetchConfiguration Modifier and Type Method Description JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. addFetchInnerJoin(java.lang.String field)
JDBCFetchConfiguration
JDBCFetchConfiguration. addFetchInnerJoin(java.lang.String field)
Addsfield
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. addFetchInnerJoin(java.lang.String join)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. addFetchInnerJoins(java.util.Collection fields)
JDBCFetchConfiguration
JDBCFetchConfiguration. addFetchInnerJoins(java.util.Collection<java.lang.String> fields)
Addsfields
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. addFetchInnerJoins(java.util.Collection<java.lang.String> joins)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. addJoin(java.lang.String field)
JDBCFetchConfiguration
JDBCFetchConfiguration. addJoin(java.lang.String field)
Addsfield
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. addJoin(java.lang.String join)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. addJoins(java.util.Collection fields)
JDBCFetchConfiguration
JDBCFetchConfiguration. addJoins(java.util.Collection<java.lang.String> fields)
Addsfields
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. addJoins(java.util.Collection<java.lang.String> joins)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. clearJoins()
JDBCFetchConfiguration
JDBCFetchConfiguration. clearJoins()
Clears the set of field names to join when loading data.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. clearJoins()
JDBCFetchConfiguration
JDBCStore. getFetchConfiguration()
Return the current default fetch configuration.JDBCFetchConfiguration
JDBCStoreManager. getFetchConfiguration()
JDBCFetchConfiguration
SelectResultObjectProvider. getFetchConfiguration()
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. getJDBCDelegate()
Return the JDBC delegate.JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. removeJoin(java.lang.String field)
JDBCFetchConfiguration
JDBCFetchConfiguration. removeJoin(java.lang.String field)
Removesfield
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. removeJoin(java.lang.String field)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. removeJoins(java.util.Collection fields)
JDBCFetchConfiguration
JDBCFetchConfiguration. removeJoins(java.util.Collection<java.lang.String> fields)
Removesfields
from the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. removeJoins(java.util.Collection<java.lang.String> joins)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. setEagerFetchMode(int mode)
JDBCFetchConfiguration
JDBCFetchConfiguration. setEagerFetchMode(int mode)
Set the eager fetch mode.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. setEagerFetchMode(int mode)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. setFetchDirection(int direction)
JDBCFetchConfiguration
JDBCFetchConfiguration. setFetchDirection(int direction)
The fetch direction to use as a constant fromResultSet
.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. setFetchDirection(int direction)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. setIsolation(int level)
JDBCFetchConfiguration
JDBCFetchConfiguration. setIsolation(int level)
The isolation level for queries issued to the database.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. setIsolation(int level)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. setJoinSyntax(int syntax)
JDBCFetchConfiguration
JDBCFetchConfiguration. setJoinSyntax(int syntax)
The join syntax to use.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. setJoinSyntax(int syntax)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. setLRSSize(int lrsSize)
JDBCFetchConfiguration
JDBCFetchConfiguration. setLRSSize(int lrsSize)
The large result set size mode to use.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. setLRSSize(int size)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. setResultSetType(int type)
JDBCFetchConfiguration
JDBCFetchConfiguration. setResultSetType(int type)
The result set type to use as a constant fromResultSet
.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. setResultSetType(int type)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. setSubclassFetchMode(int mode)
JDBCFetchConfiguration
JDBCFetchConfiguration. setSubclassFetchMode(int mode)
Set the subclass fetch mode.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. setSubclassFetchMode(int mode)
JDBCFetchConfiguration
DelegatingJDBCFetchConfiguration. traverseJDBC(FieldMetaData fm)
JDBCFetchConfiguration
JDBCFetchConfiguration. traverseJDBC(FieldMetaData fm)
Convenience method to cast traversal to store-specific type.JDBCFetchConfiguration
JDBCFetchConfigurationImpl. traverseJDBC(FieldMetaData fm)
Methods in org.apache.openjpa.jdbc.kernel with parameters of type JDBCFetchConfiguration Modifier and Type Method Description java.lang.Object
JDBCStore. find(java.lang.Object oid, ValueMapping vm, JDBCFetchConfiguration fetch)
Find the object with the given oid.java.lang.Object
JDBCStoreManager. find(java.lang.Object oid, ValueMapping vm, JDBCFetchConfiguration fetch)
Find the object with the given oid.protected java.util.List<SQLBuffer>
MixedLockManager. getLockRows(DBDictionary dict, java.lang.Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)
protected java.util.List<SQLBuffer>
PessimisticLockManager. getLockRows(DBDictionary dict, java.lang.Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)
static java.util.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 boolean
JDBCStoreManager. initializeState(OpenJPAStateManager sm, PCState state, JDBCFetchConfiguration fetch, ConnectionInfo info)
Initialize a newly-loaded instance.java.lang.Object
JDBCStoreManager. load(ClassMapping mapping, JDBCFetchConfiguration fetch, java.util.BitSet exclude, Result result)
Load the object in the current row of the given result.protected void
PessimisticLockManager. lockJoinTables(java.util.List<SQLBuffer> sqls, DBDictionary dict, java.lang.Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory)
protected java.sql.PreparedStatement
SQLStoreQuery.SQLExecutor. prepareCall(java.sql.Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur)
This method is to provide override for non-JDBC or JDBC-like implementation of preparing call statement.protected java.sql.PreparedStatement
SQLStoreQuery.SQLExecutor. prepareStatement(java.sql.Connection conn, SQLBuffer buf, JDBCFetchConfiguration fetch, int rsType, int rsConcur)
This method is to provide override for non-JDBC or JDBC-like implementation of preparing statement.boolean
JDBCStoreManager. select(Select sel, ClassMapping mapping, int subs, OpenJPAStateManager sm, java.util.BitSet fields, JDBCFetchConfiguration fetch, int eager, boolean ident, boolean outer)
For implementation use only. -
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.kernel.exps
Fields in org.apache.openjpa.jdbc.kernel.exps declared as JDBCFetchConfiguration Modifier and Type Field Description JDBCFetchConfiguration
ExpContext. fetch
Fetch configuration.Constructors in org.apache.openjpa.jdbc.kernel.exps with parameters of type JDBCFetchConfiguration Constructor Description ExpContext(JDBCStore store, java.lang.Object[] params, JDBCFetchConfiguration fetch)
-
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.meta
Methods in org.apache.openjpa.jdbc.meta with parameters of type JDBCFetchConfiguration Modifier and Type Method Description ResultObjectProvider
ClassMapping. customLoad(JDBCStore store, boolean subclasses, JDBCFetchConfiguration fetch, long startIdx, long endIdx)
boolean
ClassMapping. customLoad(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result result)
boolean
ClassMapping. customLoad(OpenJPAStateManager sm, JDBCStore store, PCState state, JDBCFetchConfiguration fetch)
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.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
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.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.java.lang.Object
FieldMapping. loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object res)
java.lang.Object
FieldStrategy. loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object res)
Load the batched eager result.void
Embeddable. loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object val)
Load this strategy's field by transforming the given datastore value.java.lang.Object
FieldMapping. loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
FieldStrategy. loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
Load this field's key value using the given result.java.lang.Object
FieldMapping. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
FieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
Load this field value using the given result.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.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.java.lang.Object
ValueHandler. toObjectValue(ValueMapping vm, java.lang.Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
Translate the given datastore value into its Java equivalent. -
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.meta.strats
Methods in org.apache.openjpa.jdbc.meta.strats with parameters of type JDBCFetchConfiguration Modifier and Type Method Description 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)
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)
void
AbstractFieldStrategy. load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
void
AbstractFieldStrategy. load(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res)
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)
java.lang.Object
AbstractFieldStrategy. loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object res)
java.lang.Object
RelationFieldStrategy. loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object res)
java.lang.Object
StoreCollectionFieldStrategy. loadEagerParallel(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object res)
java.lang.Object
HandlerCollectionTableFieldStrategy. loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
LRSCollectionFieldStrategy. loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
Load an element of the collection.java.lang.Object
RelationCollectionInverseKeyFieldStrategy. loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
RelationCollectionTableFieldStrategy. loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
protected java.lang.Object
RelationToManyInverseKeyFieldStrategy. loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
protected java.lang.Object
RelationToManyTableFieldStrategy. loadElement(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
protected abstract java.lang.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, java.lang.Object val)
void
HandlerFieldStrategy. loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object val)
void
PrimitiveFieldStrategy. loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object val)
void
RelationFieldStrategy. loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object val)
void
StringFieldStrategy. loadEmbedded(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, java.lang.Object val)
java.lang.Object
HandlerHandlerMapTableFieldStrategy. loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
HandlerRelationMapTableFieldStrategy. loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
LRSMapFieldStrategy. loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
Load a key from the given result.java.lang.Object
RelationHandlerMapTableFieldStrategy. loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
RelationMapInverseKeyFieldStrategy. loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
RelationMapTableFieldStrategy. loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
RelationRelationMapTableFieldStrategy. loadKey(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
AbstractFieldStrategy. loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
MapTableFieldStrategy. loadKeyProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
static java.lang.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.java.lang.Object
AbstractFieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
EmbedFieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
Loading embed object without instantiating owner entityjava.lang.Object
HandlerFieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
MapTableFieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
PrimitiveFieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
StoreCollectionFieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
StringFieldStrategy. loadProjection(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
HandlerHandlerMapTableFieldStrategy. loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
HandlerRelationMapTableFieldStrategy. loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
LRSMapFieldStrategy. loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
Load a value from the given result.java.lang.Object
RelationHandlerMapTableFieldStrategy. loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
RelationMapInverseKeyFieldStrategy. loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
RelationMapTableFieldStrategy. loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
java.lang.Object
RelationRelationMapTableFieldStrategy. loadValue(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins)
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
HandlerCollectionTableFieldStrategy. 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 fromLRSCollectionFieldStrategy.getIndependentElementMappings(boolean)
(or null).void
RelationCollectionInverseKeyFieldStrategy. 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)
protected void
RelationToManyInverseKeyFieldStrategy. 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)
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 fromContainerFieldStrategy.getIndependentElementMappings(boolean)
(or null).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)
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)
java.lang.Object
AbstractValueHandler. toObjectValue(ValueMapping vm, java.lang.Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
java.lang.Object
ElementEmbedValueHandler. toObjectValue(ValueMapping vm, java.lang.Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
protected void
EmbedValueHandler. toObjectValue(OpenJPAStateManager em, ValueMapping vm, java.lang.Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx)
Helper to convert a datastore value to its object equivalent.java.lang.Object
UntypedPCValueHandler. toObjectValue(ValueMapping vm, java.lang.Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch)
protected int
EmbedValueHandler. toObjectValue1(OpenJPAStateManager em, ValueMapping vm, java.lang.Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx)
-
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql with parameters of type JDBCFetchConfiguration Modifier and Type Method Description SQLBuffer
SQLBuffer. append(Select sel, JDBCFetchConfiguration fetch)
Append a subselect.SQLBuffer
SQLBuffer. appendCount(Select sel, JDBCFetchConfiguration fetch)
Append a subselect count.Result
LogicalUnion. execute(JDBCStore store, JDBCFetchConfiguration fetch)
Result
LogicalUnion. execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel)
Result
LogicalUnion.UnionSelect. execute(JDBCStore store, JDBCFetchConfiguration fetch)
Result
LogicalUnion.UnionSelect. execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel)
Result
SelectExecutor. execute(JDBCStore store, JDBCFetchConfiguration fetch)
Execute this select in the context of the given store manager.Result
SelectExecutor. execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel)
Execute this select in the context of the given store manager.Result
SelectImpl. execute(JDBCStore store, JDBCFetchConfiguration fetch)
Result
SelectImpl. execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel)
protected Result
SelectImpl. execute(StoreContext ctx, JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel)
Execute this select in the context of the given store manager.Result
SelectImpl. getEagerResult(java.sql.Connection conn, java.sql.PreparedStatement stmnt, java.sql.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.protected java.lang.String
DB2Dictionary. getForUpdateClause(JDBCFetchConfiguration fetch, boolean isForUpdate, Select sel)
Get the update clause for the query based on the isolationLevel hints if it is for update.protected java.lang.String
DBDictionary. getForUpdateClause(JDBCFetchConfiguration fetch, boolean isForUpdate, Select sel)
Get the update clause for the query based on the updateClause and isolationLevel hintsjava.lang.String
DBDictionary. getSelectOperation(JDBCFetchConfiguration fetch)
Return the "SELECT" operation clause, adding any available hints, etc.java.lang.String
MariaDBDictionary. getSelectOperation(JDBCFetchConfiguration fetch)
Check to see if we have set theMariaDBDictionary.SELECT_HINT
in the fetch configuration, and if so, append the MySQL hint after the "SELECT" part of the query.java.lang.String
MySQLDictionary. getSelectOperation(JDBCFetchConfiguration fetch)
Check to see if we have set theMySQLDictionary.SELECT_HINT
in the fetch configuration, and if so, append the MySQL hint after the "SELECT" part of the query.java.lang.String
OracleDictionary. getSelectOperation(JDBCFetchConfiguration fetch)
Check to see if we have set theOracleDictionary.SELECT_HINT
in the fetch configuration, and if so, append the Oracle hint after the "SELECT" part of the query.void
LogicalUnion.UnionSelect. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch)
void
LogicalUnion.UnionSelect. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, 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
Select. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
Group by the columns of the given mapping, possibly including subclasses.void
SelectImpl. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch)
void
SelectImpl. groupBy(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
java.lang.Object
AbstractResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)
java.lang.Object
AbstractResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
java.lang.Object
MergedResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)
java.lang.Object
MergedResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
java.lang.Object
Result. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch)
Load a pc object using the given store manager.java.lang.Object
Result. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
Load a pc object using the given store manager.java.lang.Object
SelectImpl.SelectResult. load(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins)
java.sql.CallableStatement
SQLBuffer. prepareCall(java.sql.Connection conn, JDBCFetchConfiguration fetch, int rsType, int rsConcur)
Create and populate the parameters of a prepred statement using the SQL in this buffer and the given fetch configuration.protected java.sql.PreparedStatement
SelectImpl. prepareStatement(java.sql.Connection conn, SQLBuffer sql, JDBCFetchConfiguration fetch, int rsType, int rsConcur, boolean isLRS)
This method is to provide override for non-JDBC or JDBC-like implementation of preparing statement.java.sql.PreparedStatement
SQLBuffer. prepareStatement(java.sql.Connection conn, JDBCFetchConfiguration fetch, int rsType, int rsConcur)
Create and populate the parameters of a prepred statement using the SQL in this buffer and the given fetch configuration.void
LogicalUnion.UnionSelect. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)
void
LogicalUnion.UnionSelect. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, 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
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
SelectImpl. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)
void
SelectImpl. select(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)
void
LogicalUnion.UnionSelect. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)
void
LogicalUnion.UnionSelect. selectIdentifier(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
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
SelectImpl. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager)
void
SelectImpl. selectIdentifier(ClassMapping mapping, int subclasses, JDBCStore store, JDBCFetchConfiguration fetch, int eager, Joins joins)
void
DBDictionary. setTimeouts(java.sql.PreparedStatement stmnt, JDBCFetchConfiguration fetch, boolean forUpdate)
FIXME - OPENJPA-957 - lockTimeout is a server-side function and shouldn't be using client-side setQueryTimeout for lock timeouts.protected SQLBuffer
DB2Dictionary. toSelect(SQLBuffer select, JDBCFetchConfiguration fetch, SQLBuffer tables, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, Select sel)
SQLBuffer
DBDictionary. toSelect(Select sel, boolean forUpdate, JDBCFetchConfiguration fetch)
Create a SELECT statement in the proper join syntax for the given instance.SQLBuffer
DBDictionary. toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end)
Combine the given components into a SELECT statement.SQLBuffer
DBDictionary. toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, boolean subselect, boolean checkTableForUpdate)
protected SQLBuffer
DBDictionary. toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, boolean subselect, Select sel)
Combine the given components into a SELECT statement.protected SQLBuffer
DBDictionary. toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, Select sel)
Combine the given components into a SELECT statement.SQLBuffer
EmpressDictionary. toSelect(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long startIdx, long endIdx)
SQLBuffer
LogicalUnion. toSelect(boolean forUpdate, JDBCFetchConfiguration fetch)
SQLBuffer
LogicalUnion.UnionSelect. toSelect(boolean forUpdate, JDBCFetchConfiguration fetch)
protected SQLBuffer
OracleDictionary. toSelect(SQLBuffer select, JDBCFetchConfiguration fetch, SQLBuffer tables, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, boolean subselect, Select sel)
protected SQLBuffer
OracleDictionary. toSelect(SQLBuffer select, JDBCFetchConfiguration fetch, SQLBuffer tables, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long start, long end, Select sel)
SQLBuffer
SelectExecutor. toSelect(boolean forUpdate, JDBCFetchConfiguration fetch)
Return this select as a SQL statement formatted for the current dictionary.SQLBuffer
SelectImpl. toSelect(boolean forUpdate, JDBCFetchConfiguration fetch)
-
Uses of JDBCFetchConfiguration in org.apache.openjpa.slice.jdbc
Classes in org.apache.openjpa.slice.jdbc that implement JDBCFetchConfiguration Modifier and Type Class Description class
TargetFetchConfiguration
A fetch configuration that is aware of special hint to narrow its operation on subset of slices.
-