Uses of Interface
org.apache.openjpa.jdbc.kernel.JDBCFetchConfiguration
Package
Description
OpenJPA-JDBC Runtime Kernel
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC ORM Metadata
OpenJPA-JDBC ORM Strategies
OpenJPA-JDBC SQL Abstraction
Implements Distributed version of JDBCStoreManager and JDBCStoreQuery.
-
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.kernel
Modifier and TypeClassDescriptionclass
Delegating fetch configuration that can also perform exception transation for use in facades.class
JDBC extensions to OpenJPA'sFetchConfiguration
.Modifier and TypeMethodDescriptionDelegatingJDBCFetchConfiguration.addFetchInnerJoin
(String field) JDBCFetchConfiguration.addFetchInnerJoin
(String field) Addsfield
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfigurationImpl.addFetchInnerJoin
(String join) DelegatingJDBCFetchConfiguration.addFetchInnerJoins
(Collection fields) JDBCFetchConfiguration.addFetchInnerJoins
(Collection<String> fields) Addsfields
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfigurationImpl.addFetchInnerJoins
(Collection<String> joins) Addsfield
to the set of fully-qualified field names to eagerly join when loading objects.DelegatingJDBCFetchConfiguration.addJoins
(Collection fields) JDBCFetchConfiguration.addJoins
(Collection<String> fields) Addsfields
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfigurationImpl.addJoins
(Collection<String> joins) DelegatingJDBCFetchConfiguration.clearJoins()
JDBCFetchConfiguration.clearJoins()
Clears the set of field names to join when loading data.JDBCFetchConfigurationImpl.clearJoins()
JDBCStore.getFetchConfiguration()
Return the current default fetch configuration.JDBCStoreManager.getFetchConfiguration()
SelectResultObjectProvider.getFetchConfiguration()
DelegatingJDBCFetchConfiguration.getJDBCDelegate()
Return the JDBC delegate.DelegatingJDBCFetchConfiguration.removeJoin
(String field) JDBCFetchConfiguration.removeJoin
(String field) Removesfield
to the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfigurationImpl.removeJoin
(String field) DelegatingJDBCFetchConfiguration.removeJoins
(Collection fields) JDBCFetchConfiguration.removeJoins
(Collection<String> fields) Removesfields
from the set of fully-qualified field names to eagerly join when loading objects.JDBCFetchConfigurationImpl.removeJoins
(Collection<String> joins) DelegatingJDBCFetchConfiguration.setEagerFetchMode
(int mode) JDBCFetchConfiguration.setEagerFetchMode
(int mode) Set the eager fetch mode.JDBCFetchConfigurationImpl.setEagerFetchMode
(int mode) DelegatingJDBCFetchConfiguration.setFetchDirection
(int direction) JDBCFetchConfiguration.setFetchDirection
(int direction) The fetch direction to use as a constant fromResultSet
.JDBCFetchConfigurationImpl.setFetchDirection
(int direction) DelegatingJDBCFetchConfiguration.setIsolation
(int level) JDBCFetchConfiguration.setIsolation
(int level) The isolation level for queries issued to the database.JDBCFetchConfigurationImpl.setIsolation
(int level) DelegatingJDBCFetchConfiguration.setJoinSyntax
(int syntax) JDBCFetchConfiguration.setJoinSyntax
(int syntax) The join syntax to use.JDBCFetchConfigurationImpl.setJoinSyntax
(int syntax) DelegatingJDBCFetchConfiguration.setLRSSize
(int lrsSize) JDBCFetchConfiguration.setLRSSize
(int lrsSize) The large result set size mode to use.JDBCFetchConfigurationImpl.setLRSSize
(int size) DelegatingJDBCFetchConfiguration.setResultSetType
(int type) JDBCFetchConfiguration.setResultSetType
(int type) The result set type to use as a constant fromResultSet
.JDBCFetchConfigurationImpl.setResultSetType
(int type) DelegatingJDBCFetchConfiguration.setSubclassFetchMode
(int mode) JDBCFetchConfiguration.setSubclassFetchMode
(int mode) Set the subclass fetch mode.JDBCFetchConfigurationImpl.setSubclassFetchMode
(int mode) DelegatingJDBCFetchConfiguration.traverseJDBC
(FieldMetaData fm) JDBCFetchConfiguration.traverseJDBC
(FieldMetaData fm) Convenience method to cast traversal to store-specific type.JDBCFetchConfigurationImpl.traverseJDBC
(FieldMetaData fm) Modifier and TypeMethodDescriptionJDBCStore.find
(Object oid, ValueMapping vm, JDBCFetchConfiguration fetch) Find the object with the given oid.JDBCStoreManager.find
(Object oid, ValueMapping vm, JDBCFetchConfiguration fetch) Find the object with the given oid.MixedLockManager.getLockRows
(DBDictionary dict, Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory) PessimisticLockManager.getLockRows
(DBDictionary dict, Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory) 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 boolean
JDBCStoreManager.initializeState
(OpenJPAStateManager sm, PCState state, JDBCFetchConfiguration fetch, ConnectionInfo info) Initialize a newly-loaded instance.JDBCStoreManager.load
(ClassMapping mapping, JDBCFetchConfiguration fetch, BitSet exclude, Result result) Load the object in the current row of the given result.protected void
PessimisticLockManager.lockJoinTables
(List<SQLBuffer> sqls, DBDictionary dict, Object id, ClassMapping mapping, JDBCFetchConfiguration fetch, SQLFactory factory) protected PreparedStatement
SQLStoreQuery.SQLExecutor.prepareCall
(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 PreparedStatement
SQLStoreQuery.SQLExecutor.prepareStatement
(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, BitSet fields, JDBCFetchConfiguration fetch, int eager, boolean ident, boolean outer) For implementation use only.ModifierConstructorDescriptionConstructor; supply delegate.Constructor; supply delegate and exception translator.GenericResultObjectProvider
(Class<?> pcClass, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Constructor.GenericResultObjectProvider
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Constructor.InstanceResultObjectProvider
(SelectExecutor sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch) Constructor.PagingResultObjectProvider
(SelectExecutor sel, ClassMapping[] mappings, JDBCStore store, JDBCFetchConfiguration fetch, BitSet[] paged, long size) Constructor.PagingResultObjectProvider
(SelectExecutor sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, BitSet paged, long size) Constructor.PreparedResultObjectProvider
(SelectExecutor sel, ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Result res) Constructor.SelectResultObjectProvider
(SelectExecutor sel, JDBCStore store, JDBCFetchConfiguration fetch) Constructor.XROP
(List<QueryResultMapping> mappings, List<Class<?>> classes, JDBCStore store, JDBCFetchConfiguration fetch, CallableStatement stmt) -
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.kernel.exps
ModifierConstructorDescriptionExpContext
(JDBCStore store, Object[] params, JDBCFetchConfiguration fetch) -
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.meta
Modifier and TypeMethodDescriptionClassMapping.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) 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.FieldMapping.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) FieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) Load the batched eager result.void
Embeddable.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) Load this strategy's field by transforming the given datastore value.FieldMapping.loadKeyProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) FieldStrategy.loadKeyProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load this field's key value using the given result.FieldMapping.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) 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.ValueHandler.toObjectValue
(ValueMapping vm, 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
Modifier and TypeMethodDescriptionAbstractClassStrategy.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) AbstractFieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) RelationFieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) StoreCollectionFieldStrategy.loadEagerParallel
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object res) HandlerCollectionTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSCollectionFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.RelationCollectionInverseKeyFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationCollectionTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected Object
RelationToManyInverseKeyFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected Object
RelationToManyTableFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) protected abstract Object
StoreCollectionFieldStrategy.loadElement
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load an element of the collection.void
EmbedFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
HandlerFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
PrimitiveFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
RelationFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) void
StringFieldStrategy.loadEmbedded
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Object val) HandlerHandlerMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a key from the given result.RelationHandlerMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadKey
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) AbstractFieldStrategy.loadKeyProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) 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.AbstractFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) EmbedFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Loading embed object without instantiating owner entityHandlerFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) MapTableFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) PrimitiveFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) StoreCollectionFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) StringFieldStrategy.loadProjection
(JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerHandlerMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) HandlerRelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) LRSMapFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) Load a value from the given result.RelationHandlerMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapInverseKeyFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) RelationRelationMapTableFieldStrategy.loadValue
(OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch, Result res, Joins joins) 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) AbstractValueHandler.toObjectValue
(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) ElementEmbedValueHandler.toObjectValue
(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) protected void
EmbedValueHandler.toObjectValue
(OpenJPAStateManager em, ValueMapping vm, Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx) Helper to convert a datastore value to its object equivalent.UntypedPCValueHandler.toObjectValue
(ValueMapping vm, Object val, OpenJPAStateManager sm, JDBCStore store, JDBCFetchConfiguration fetch) protected int
EmbedValueHandler.toObjectValue1
(OpenJPAStateManager em, ValueMapping vm, Object val, JDBCStore store, JDBCFetchConfiguration fetch, Column[] cols, int idx) -
Uses of JDBCFetchConfiguration in org.apache.openjpa.jdbc.sql
Modifier and TypeMethodDescriptionSQLBuffer.append
(Select sel, JDBCFetchConfiguration fetch) Append a subselect.SQLBuffer.appendCount
(Select sel, JDBCFetchConfiguration fetch) Append a subselect count.LogicalUnion.execute
(JDBCStore store, JDBCFetchConfiguration fetch) LogicalUnion.execute
(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) LogicalUnion.UnionSelect.execute
(JDBCStore store, JDBCFetchConfiguration fetch) LogicalUnion.UnionSelect.execute
(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) SelectExecutor.execute
(JDBCStore store, JDBCFetchConfiguration fetch) Execute this select in the context of the given store manager.SelectExecutor.execute
(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) Execute this select in the context of the given store manager.SelectImpl.execute
(JDBCStore store, JDBCFetchConfiguration fetch) 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.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.protected 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 String
DBDictionary.getForUpdateClause
(JDBCFetchConfiguration fetch, boolean isForUpdate, Select sel) Get the update clause for the query based on the updateClause and isolationLevel hintsDBDictionary.getSelectOperation
(JDBCFetchConfiguration fetch) Return the "SELECT" operation clause, adding any available hints, etc.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.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.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) AbstractResult.load
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch) AbstractResult.load
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) MergedResult.load
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch) MergedResult.load
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) Result.load
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch) Load a pc object using the given store manager.Result.load
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) Load a pc object using the given store manager.SelectImpl.SelectResult.load
(ClassMapping mapping, JDBCStore store, JDBCFetchConfiguration fetch, Joins joins) SQLBuffer.prepareCall
(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 PreparedStatement
SelectImpl.prepareStatement
(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.SQLBuffer.prepareStatement
(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
(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) DBDictionary.toSelect
(Select sel, boolean forUpdate, JDBCFetchConfiguration fetch) Create a SELECT statement in the proper join syntax for the given instance.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.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.EmpressDictionary.toSelect
(SQLBuffer selects, JDBCFetchConfiguration fetch, SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, SQLBuffer order, boolean distinct, boolean forUpdate, long startIdx, long endIdx) LogicalUnion.toSelect
(boolean forUpdate, JDBCFetchConfiguration fetch) 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) SelectExecutor.toSelect
(boolean forUpdate, JDBCFetchConfiguration fetch) Return this select as a SQL statement formatted for the current dictionary.SelectImpl.toSelect
(boolean forUpdate, JDBCFetchConfiguration fetch) -
Uses of JDBCFetchConfiguration in org.apache.openjpa.slice.jdbc
Modifier and TypeClassDescriptionclass
A fetch configuration that is aware of special hint to narrow its operation on subset of slices.