Class JDBCFetchPlanImpl
- java.lang.Object
-
- org.apache.openjpa.persistence.FetchPlanImpl
-
- org.apache.openjpa.persistence.jdbc.JDBCFetchPlanImpl
-
- All Implemented Interfaces:
FetchPlan
,JDBCFetchPlan
public class JDBCFetchPlanImpl extends FetchPlanImpl implements JDBCFetchPlan
JDBC extensions to the fetch plan.- Since:
- 0.4.0
- Author:
- Abe White
-
-
Field Summary
-
Fields inherited from class org.apache.openjpa.persistence.FetchPlanImpl
_hints, _precedence
-
Fields inherited from interface org.apache.openjpa.persistence.FetchPlan
DEFAULT, DEPTH_INFINITE, GROUP_ALL, GROUP_DEFAULT
-
Fields inherited from interface org.apache.openjpa.persistence.jdbc.JDBCFetchPlan
EAGER_JOIN, EAGER_NONE, EAGER_PARALLEL, SIZE_LAST, SIZE_QUERY, SIZE_UNKNOWN, SYNTAX_DATABASE, SYNTAX_SQL92, SYNTAX_TRADITIONAL
-
-
Constructor Summary
Constructors Constructor Description JDBCFetchPlanImpl(FetchConfiguration fetch)
Constructor; supply delegate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JDBCFetchPlan
addFetchGroup(java.lang.String group)
Addsgroup
to the set of fetch group to use when loading objects.JDBCFetchPlan
addFetchGroups(java.lang.String... groups)
Addsgroups
to the set of fetch group names to use when loading objects.JDBCFetchPlan
addFetchGroups(java.util.Collection groups)
Addsgroups
to the set of fetch group names to use when loading objects.JDBCFetchPlan
addField(java.lang.Class cls, java.lang.String field)
Addsfield
to the set of field names to use when loading objects.JDBCFetchPlan
addField(java.lang.String field)
Addsfield
to the set of fully-qualified field names to use when loading objects.JDBCFetchPlan
addFields(java.lang.Class cls, java.lang.String... fields)
Addsfields
to the set of field names to use when loading objects.JDBCFetchPlan
addFields(java.lang.Class cls, java.util.Collection fields)
Addsfields
to the set of field names to use when loading objects.JDBCFetchPlan
addFields(java.lang.String... fields)
Addsfields
to the set of fully-qualified field names to use when loading objects.JDBCFetchPlan
addFields(java.util.Collection fields)
Addsfields
to the set of fully-qualified field names to use when loading objects.JDBCFetchPlan
clearFetchGroups()
Clears the set of fetch group names to use wen loading data.JDBCFetchPlan
clearFields()
Clears the set of field names to use wen loading data.FetchMode
getEagerFetchMode()
Eager fetch mode in loading relations.FetchDirection
getFetchDirection()
Result set fetch direction.boolean
getIgnoreDfgForFkSelect()
Affirms if foreign key for a relation field will be pre-fetched as part of the owning object irrespective of whether the field is included in the default fetch group of this fetch configuration.IsolationLevel
getIsolation()
The isolation level for queries issued to the database.JoinSyntax
getJoinSyntax()
SQL join syntax.int
getLRSSize()
LRSSizeAlgorithm
getLRSSizeAlgorithm()
How to determine the size of a large result set.ResultSetType
getResultSetType()
Type of JDBC result set to use for query results.FetchMode
getSubclassFetchMode()
Eager fetch mode in loading subclasses.protected DelegatingFetchConfiguration
newDelegatingFetchConfiguration(FetchConfiguration fetch)
Create a new exception-translating delegating fetch configuration.JDBCFetchPlan
removeFetchGroup(java.lang.String group)
Remove the given fetch group.JDBCFetchPlan
removeFetchGroups(java.lang.String... groups)
Removesgroups
from the set of fetch group names to use when loading objects.JDBCFetchPlan
removeFetchGroups(java.util.Collection groups)
Removesgroups
from the set of fetch group names to use when loading objects.JDBCFetchPlan
removeField(java.lang.Class cls, java.lang.String field)
Remove the given field.JDBCFetchPlan
removeField(java.lang.String field)
Remove the given fully-qualified field.JDBCFetchPlan
removeFields(java.lang.Class cls, java.lang.String... fields)
Removesfields
from the set of field names to use when loading objects.JDBCFetchPlan
removeFields(java.lang.Class cls, java.util.Collection fields)
Removesfields
from the set of field names to use when loading objects.JDBCFetchPlan
removeFields(java.lang.String... fields)
Removesfields
from the set of fully-qualified field names to use when loading objects.JDBCFetchPlan
removeFields(java.util.Collection fields)
Removesfields
from the set of fully-qualified field names to use when loading objects.JDBCFetchPlan
resetFetchGroups()
Resets the set of fetch groups to the list in the global configuration.JDBCFetchPlan
setEagerFetchMode(int mode)
JDBCFetchPlanImpl
setEagerFetchMode(FetchMode mode)
Eager fetch mode in loading relations.JDBCFetchPlan
setFetchBatchSize(int fetchBatchSize)
Set the fetch batch size for large result set support.JDBCFetchPlan
setFetchDirection(int direction)
JDBCFetchPlanImpl
setFetchDirection(FetchDirection direction)
Result set fetch direction.void
setIgnoreDfgForFkSelect(boolean b)
Affirms if foreign key for a relation field will be pre-fetched as part of the owning object irrespective of whether the field is included in the default fetch group of this fetch configuration.JDBCFetchPlan
setIsolation(IsolationLevel level)
The isolation level for queries issued to the database.JDBCFetchPlan
setJoinSyntax(int syntax)
JDBCFetchPlanImpl
setJoinSyntax(JoinSyntax syntax)
SQL join syntax.JDBCFetchPlan
setLockTimeout(int timeout)
The number of milliseconds to wait for an object lock, or -1 for no limit.JDBCFetchPlan
setLRSSize(int lrsSizeMode)
JDBCFetchPlanImpl
setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
How to determine the size of a large result set.JDBCFetchPlan
setMaxFetchDepth(int depth)
The maximum fetch depth when loading an object.JDBCFetchPlan
setQueryResultCacheEnabled(boolean cache)
Control whether or not query caching is enabled.JDBCFetchPlan
setQueryTimeout(int timeout)
The number of milliseconds to wait for a query, or -1 for no limit.JDBCFetchPlan
setReadLockMode(jakarta.persistence.LockModeType mode)
The lock level to use for locking loaded objects.JDBCFetchPlan
setResultSetType(int mode)
JDBCFetchPlanImpl
setResultSetType(ResultSetType type)
Type of JDBC result set to use for query results.JDBCFetchPlan
setSubclassFetchMode(int mode)
JDBCFetchPlanImpl
setSubclassFetchMode(FetchMode mode)
Eager fetch mode in loading subclasses.JDBCFetchPlan
setWriteLockMode(jakarta.persistence.LockModeType mode)
The lock level to use for locking dirtied objects.-
Methods inherited from class org.apache.openjpa.persistence.FetchPlanImpl
equals, getCacheRetrieveMode, getCacheStoreMode, getDelegate, getExtendedPathLookup, getFetchBatchSize, getFetchGroups, getFields, getHint, getHints, getLockScope, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getQueryResultCacheEnabled, getQueryTimeout, getReadLockMode, getWriteLockMode, hasField, hasField, hashCode, registerHint, setCacheRetrieveMode, setCacheStoreMode, setExtendedPathLookup, setHint, setHints, setLockScope, setQueryResultCache
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.openjpa.persistence.FetchPlan
getCacheRetrieveMode, getCacheStoreMode, getDelegate, getExtendedPathLookup, getFetchBatchSize, getFetchGroups, getFields, getHint, getHints, getLockScope, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getQueryResultCacheEnabled, getQueryTimeout, getReadLockMode, getWriteLockMode, hasField, hasField, setCacheRetrieveMode, setCacheStoreMode, setExtendedPathLookup, setHint, setLockScope, setQueryResultCache
-
-
-
-
Constructor Detail
-
JDBCFetchPlanImpl
public JDBCFetchPlanImpl(FetchConfiguration fetch)
Constructor; supply delegate.
-
-
Method Detail
-
newDelegatingFetchConfiguration
protected DelegatingFetchConfiguration newDelegatingFetchConfiguration(FetchConfiguration fetch)
Description copied from class:FetchPlanImpl
Create a new exception-translating delegating fetch configuration.- Overrides:
newDelegatingFetchConfiguration
in classFetchPlanImpl
-
getEagerFetchMode
public FetchMode getEagerFetchMode()
Description copied from interface:JDBCFetchPlan
Eager fetch mode in loading relations.- Specified by:
getEagerFetchMode
in interfaceJDBCFetchPlan
-
setEagerFetchMode
public JDBCFetchPlanImpl setEagerFetchMode(FetchMode mode)
Description copied from interface:JDBCFetchPlan
Eager fetch mode in loading relations.- Specified by:
setEagerFetchMode
in interfaceJDBCFetchPlan
-
setEagerFetchMode
public JDBCFetchPlan setEagerFetchMode(int mode)
- Specified by:
setEagerFetchMode
in interfaceJDBCFetchPlan
-
getSubclassFetchMode
public FetchMode getSubclassFetchMode()
Description copied from interface:JDBCFetchPlan
Eager fetch mode in loading subclasses.- Specified by:
getSubclassFetchMode
in interfaceJDBCFetchPlan
-
setSubclassFetchMode
public JDBCFetchPlanImpl setSubclassFetchMode(FetchMode mode)
Description copied from interface:JDBCFetchPlan
Eager fetch mode in loading subclasses.- Specified by:
setSubclassFetchMode
in interfaceJDBCFetchPlan
-
setSubclassFetchMode
public JDBCFetchPlan setSubclassFetchMode(int mode)
- Specified by:
setSubclassFetchMode
in interfaceJDBCFetchPlan
-
getResultSetType
public ResultSetType getResultSetType()
Description copied from interface:JDBCFetchPlan
Type of JDBC result set to use for query results.- Specified by:
getResultSetType
in interfaceJDBCFetchPlan
-
setResultSetType
public JDBCFetchPlanImpl setResultSetType(ResultSetType type)
Description copied from interface:JDBCFetchPlan
Type of JDBC result set to use for query results.- Specified by:
setResultSetType
in interfaceJDBCFetchPlan
-
setResultSetType
public JDBCFetchPlan setResultSetType(int mode)
- Specified by:
setResultSetType
in interfaceJDBCFetchPlan
-
getFetchDirection
public FetchDirection getFetchDirection()
Description copied from interface:JDBCFetchPlan
Result set fetch direction.- Specified by:
getFetchDirection
in interfaceJDBCFetchPlan
-
setFetchDirection
public JDBCFetchPlanImpl setFetchDirection(FetchDirection direction)
Description copied from interface:JDBCFetchPlan
Result set fetch direction.- Specified by:
setFetchDirection
in interfaceJDBCFetchPlan
-
setFetchDirection
public JDBCFetchPlan setFetchDirection(int direction)
- Specified by:
setFetchDirection
in interfaceJDBCFetchPlan
-
getLRSSizeAlgorithm
public LRSSizeAlgorithm getLRSSizeAlgorithm()
Description copied from interface:JDBCFetchPlan
How to determine the size of a large result set.- Specified by:
getLRSSizeAlgorithm
in interfaceJDBCFetchPlan
-
setLRSSizeAlgorithm
public JDBCFetchPlanImpl setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
Description copied from interface:JDBCFetchPlan
How to determine the size of a large result set.- Specified by:
setLRSSizeAlgorithm
in interfaceJDBCFetchPlan
-
getLRSSize
public int getLRSSize()
- Specified by:
getLRSSize
in interfaceJDBCFetchPlan
-
setLRSSize
public JDBCFetchPlan setLRSSize(int lrsSizeMode)
- Specified by:
setLRSSize
in interfaceJDBCFetchPlan
-
getJoinSyntax
public JoinSyntax getJoinSyntax()
Description copied from interface:JDBCFetchPlan
SQL join syntax.- Specified by:
getJoinSyntax
in interfaceJDBCFetchPlan
-
setJoinSyntax
public JDBCFetchPlanImpl setJoinSyntax(JoinSyntax syntax)
Description copied from interface:JDBCFetchPlan
SQL join syntax.- Specified by:
setJoinSyntax
in interfaceJDBCFetchPlan
-
setJoinSyntax
public JDBCFetchPlan setJoinSyntax(int syntax)
- Specified by:
setJoinSyntax
in interfaceJDBCFetchPlan
-
getIsolation
public IsolationLevel getIsolation()
Description copied from interface:JDBCFetchPlan
The isolation level for queries issued to the database. This overrides the persistence-unit-wideopenjpa.jdbc.TransactionIsolation
value.- Specified by:
getIsolation
in interfaceJDBCFetchPlan
-
setIsolation
public JDBCFetchPlan setIsolation(IsolationLevel level)
Description copied from interface:JDBCFetchPlan
The isolation level for queries issued to the database. This overrides the persistence-unit-wideopenjpa.jdbc.TransactionIsolation
value.- Specified by:
setIsolation
in interfaceJDBCFetchPlan
-
addFetchGroup
public JDBCFetchPlan addFetchGroup(java.lang.String group)
Description copied from interface:FetchPlan
Addsgroup
to the set of fetch group to use when loading objects.- Specified by:
addFetchGroup
in interfaceFetchPlan
- Specified by:
addFetchGroup
in interfaceJDBCFetchPlan
- Overrides:
addFetchGroup
in classFetchPlanImpl
-
addFetchGroups
public JDBCFetchPlan addFetchGroups(java.util.Collection groups)
Description copied from interface:FetchPlan
Addsgroups
to the set of fetch group names to use when loading objects.- Specified by:
addFetchGroups
in interfaceFetchPlan
- Specified by:
addFetchGroups
in interfaceJDBCFetchPlan
- Overrides:
addFetchGroups
in classFetchPlanImpl
-
addFetchGroups
public JDBCFetchPlan addFetchGroups(java.lang.String... groups)
Description copied from interface:FetchPlan
Addsgroups
to the set of fetch group names to use when loading objects.- Specified by:
addFetchGroups
in interfaceFetchPlan
- Specified by:
addFetchGroups
in interfaceJDBCFetchPlan
- Overrides:
addFetchGroups
in classFetchPlanImpl
-
addField
public JDBCFetchPlan addField(java.lang.Class cls, java.lang.String field)
Description copied from interface:FetchPlan
Addsfield
to the set of field names to use when loading objects.- Specified by:
addField
in interfaceFetchPlan
- Specified by:
addField
in interfaceJDBCFetchPlan
- Overrides:
addField
in classFetchPlanImpl
-
addField
public JDBCFetchPlan addField(java.lang.String field)
Description copied from interface:FetchPlan
Addsfield
to the set of fully-qualified field names to use when loading objects.- Specified by:
addField
in interfaceFetchPlan
- Specified by:
addField
in interfaceJDBCFetchPlan
- Overrides:
addField
in classFetchPlanImpl
-
addFields
public JDBCFetchPlan addFields(java.lang.Class cls, java.util.Collection fields)
Description copied from interface:FetchPlan
Addsfields
to the set of field names to use when loading objects.- Specified by:
addFields
in interfaceFetchPlan
- Specified by:
addFields
in interfaceJDBCFetchPlan
- Overrides:
addFields
in classFetchPlanImpl
-
addFields
public JDBCFetchPlan addFields(java.lang.Class cls, java.lang.String... fields)
Description copied from interface:FetchPlan
Addsfields
to the set of field names to use when loading objects.- Specified by:
addFields
in interfaceFetchPlan
- Specified by:
addFields
in interfaceJDBCFetchPlan
- Overrides:
addFields
in classFetchPlanImpl
-
addFields
public JDBCFetchPlan addFields(java.util.Collection fields)
Description copied from interface:FetchPlan
Addsfields
to the set of fully-qualified field names to use when loading objects.- Specified by:
addFields
in interfaceFetchPlan
- Specified by:
addFields
in interfaceJDBCFetchPlan
- Overrides:
addFields
in classFetchPlanImpl
-
addFields
public JDBCFetchPlan addFields(java.lang.String... fields)
Description copied from interface:FetchPlan
Addsfields
to the set of fully-qualified field names to use when loading objects.- Specified by:
addFields
in interfaceFetchPlan
- Specified by:
addFields
in interfaceJDBCFetchPlan
- Overrides:
addFields
in classFetchPlanImpl
-
clearFetchGroups
public JDBCFetchPlan clearFetchGroups()
Description copied from interface:FetchPlan
Clears the set of fetch group names to use wen loading data. After this operation is invoked, only those fields in the default fetch group (and any requested field) will be loaded when loading an object.- Specified by:
clearFetchGroups
in interfaceFetchPlan
- Specified by:
clearFetchGroups
in interfaceJDBCFetchPlan
- Overrides:
clearFetchGroups
in classFetchPlanImpl
-
clearFields
public JDBCFetchPlan clearFields()
Description copied from interface:FetchPlan
Clears the set of field names to use wen loading data. After this operation is invoked, only those fields in the configured fetch groups will be loaded when loading an object.- Specified by:
clearFields
in interfaceFetchPlan
- Specified by:
clearFields
in interfaceJDBCFetchPlan
- Overrides:
clearFields
in classFetchPlanImpl
-
removeFetchGroup
public JDBCFetchPlan removeFetchGroup(java.lang.String group)
Description copied from interface:FetchPlan
Remove the given fetch group.- Specified by:
removeFetchGroup
in interfaceFetchPlan
- Specified by:
removeFetchGroup
in interfaceJDBCFetchPlan
- Overrides:
removeFetchGroup
in classFetchPlanImpl
-
removeFetchGroups
public JDBCFetchPlan removeFetchGroups(java.util.Collection groups)
Description copied from interface:FetchPlan
Removesgroups
from the set of fetch group names to use when loading objects.- Specified by:
removeFetchGroups
in interfaceFetchPlan
- Specified by:
removeFetchGroups
in interfaceJDBCFetchPlan
- Overrides:
removeFetchGroups
in classFetchPlanImpl
-
removeFetchGroups
public JDBCFetchPlan removeFetchGroups(java.lang.String... groups)
Description copied from interface:FetchPlan
Removesgroups
from the set of fetch group names to use when loading objects.- Specified by:
removeFetchGroups
in interfaceFetchPlan
- Specified by:
removeFetchGroups
in interfaceJDBCFetchPlan
- Overrides:
removeFetchGroups
in classFetchPlanImpl
-
removeField
public JDBCFetchPlan removeField(java.lang.Class cls, java.lang.String field)
Description copied from interface:FetchPlan
Remove the given field.- Specified by:
removeField
in interfaceFetchPlan
- Specified by:
removeField
in interfaceJDBCFetchPlan
- Overrides:
removeField
in classFetchPlanImpl
-
removeField
public JDBCFetchPlan removeField(java.lang.String field)
Description copied from interface:FetchPlan
Remove the given fully-qualified field.- Specified by:
removeField
in interfaceFetchPlan
- Specified by:
removeField
in interfaceJDBCFetchPlan
- Overrides:
removeField
in classFetchPlanImpl
-
removeFields
public JDBCFetchPlan removeFields(java.lang.Class cls, java.util.Collection fields)
Description copied from interface:FetchPlan
Removesfields
from the set of field names to use when loading objects.- Specified by:
removeFields
in interfaceFetchPlan
- Specified by:
removeFields
in interfaceJDBCFetchPlan
- Overrides:
removeFields
in classFetchPlanImpl
-
removeFields
public JDBCFetchPlan removeFields(java.lang.Class cls, java.lang.String... fields)
Description copied from interface:FetchPlan
Removesfields
from the set of field names to use when loading objects.- Specified by:
removeFields
in interfaceFetchPlan
- Specified by:
removeFields
in interfaceJDBCFetchPlan
- Overrides:
removeFields
in classFetchPlanImpl
-
removeFields
public JDBCFetchPlan removeFields(java.util.Collection fields)
Description copied from interface:FetchPlan
Removesfields
from the set of fully-qualified field names to use when loading objects.- Specified by:
removeFields
in interfaceFetchPlan
- Specified by:
removeFields
in interfaceJDBCFetchPlan
- Overrides:
removeFields
in classFetchPlanImpl
-
removeFields
public JDBCFetchPlan removeFields(java.lang.String... fields)
Description copied from interface:FetchPlan
Removesfields
from the set of fully-qualified field names to use when loading objects.- Specified by:
removeFields
in interfaceFetchPlan
- Specified by:
removeFields
in interfaceJDBCFetchPlan
- Overrides:
removeFields
in classFetchPlanImpl
-
resetFetchGroups
public JDBCFetchPlan resetFetchGroups()
Description copied from interface:FetchPlan
Resets the set of fetch groups to the list in the global configuration.- Specified by:
resetFetchGroups
in interfaceFetchPlan
- Specified by:
resetFetchGroups
in interfaceJDBCFetchPlan
- Overrides:
resetFetchGroups
in classFetchPlanImpl
-
setQueryResultCacheEnabled
public JDBCFetchPlan setQueryResultCacheEnabled(boolean cache)
Description copied from interface:FetchPlan
Control whether or not query caching is enabled. This has no effect if the datacache plugin is not installed, or if the query cache size is set to zero.- Specified by:
setQueryResultCacheEnabled
in interfaceFetchPlan
- Specified by:
setQueryResultCacheEnabled
in interfaceJDBCFetchPlan
- Overrides:
setQueryResultCacheEnabled
in classFetchPlanImpl
-
setFetchBatchSize
public JDBCFetchPlan setFetchBatchSize(int fetchBatchSize)
Description copied from interface:FetchPlan
Set the fetch batch size for large result set support. Defaults to theopenjpa.FetchBatchSize
setting. Note that this property will be ignored under some data stores.- Specified by:
setFetchBatchSize
in interfaceFetchPlan
- Specified by:
setFetchBatchSize
in interfaceJDBCFetchPlan
- Overrides:
setFetchBatchSize
in classFetchPlanImpl
-
setLockTimeout
public JDBCFetchPlan setLockTimeout(int timeout)
Description copied from interface:FetchPlan
The number of milliseconds to wait for an object lock, or -1 for no limit.- Specified by:
setLockTimeout
in interfaceFetchPlan
- Specified by:
setLockTimeout
in interfaceJDBCFetchPlan
- Overrides:
setLockTimeout
in classFetchPlanImpl
-
setMaxFetchDepth
public JDBCFetchPlan setMaxFetchDepth(int depth)
Description copied from interface:FetchPlan
The maximum fetch depth when loading an object.- Specified by:
setMaxFetchDepth
in interfaceFetchPlan
- Specified by:
setMaxFetchDepth
in interfaceJDBCFetchPlan
- Overrides:
setMaxFetchDepth
in classFetchPlanImpl
-
setReadLockMode
public JDBCFetchPlan setReadLockMode(jakarta.persistence.LockModeType mode)
Description copied from interface:FetchPlan
The lock level to use for locking loaded objects.- Specified by:
setReadLockMode
in interfaceFetchPlan
- Specified by:
setReadLockMode
in interfaceJDBCFetchPlan
- Overrides:
setReadLockMode
in classFetchPlanImpl
-
setWriteLockMode
public JDBCFetchPlan setWriteLockMode(jakarta.persistence.LockModeType mode)
Description copied from interface:FetchPlan
The lock level to use for locking dirtied objects.- Specified by:
setWriteLockMode
in interfaceFetchPlan
- Specified by:
setWriteLockMode
in interfaceJDBCFetchPlan
- Overrides:
setWriteLockMode
in classFetchPlanImpl
-
setQueryTimeout
public JDBCFetchPlan setQueryTimeout(int timeout)
Description copied from interface:FetchPlan
The number of milliseconds to wait for a query, or -1 for no limit.- Specified by:
setQueryTimeout
in interfaceFetchPlan
- Specified by:
setQueryTimeout
in interfaceJDBCFetchPlan
- Overrides:
setQueryTimeout
in classFetchPlanImpl
-
getIgnoreDfgForFkSelect
public boolean getIgnoreDfgForFkSelect()
Description copied from interface:JDBCFetchPlan
Affirms if foreign key for a relation field will be pre-fetched as part of the owning object irrespective of whether the field is included in the default fetch group of this fetch configuration.
By default, foreign key for a relation field is pre-fetched as part of the owning object only if the field in included in the default fetch group of this fetch configuration.- Specified by:
getIgnoreDfgForFkSelect
in interfaceJDBCFetchPlan
-
setIgnoreDfgForFkSelect
public void setIgnoreDfgForFkSelect(boolean b)
Description copied from interface:JDBCFetchPlan
Affirms if foreign key for a relation field will be pre-fetched as part of the owning object irrespective of whether the field is included in the default fetch group of this fetch configuration.
By default, foreign key for a relation field is pre-fetched as part of the owning object only if the field in included in the default fetch group of this fetch configuration.- Specified by:
setIgnoreDfgForFkSelect
in interfaceJDBCFetchPlan
-
-