|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JDBCFetchPlan
JDBC extensions to the fetch plan.
Field Summary | |
---|---|
static int |
EAGER_JOIN
Deprecated. use the FetchMode enum instead. |
static int |
EAGER_NONE
Deprecated. use the FetchMode enum instead. |
static int |
EAGER_PARALLEL
Deprecated. use the FetchMode enum instead. |
static int |
SIZE_LAST
Deprecated. use the LRSSizeAlgorithm enum instead. |
static int |
SIZE_QUERY
Deprecated. use the LRSSizeAlgorithm enum instead. |
static int |
SIZE_UNKNOWN
Deprecated. use the LRSSizeAlgorithm enum instead. |
static int |
SYNTAX_DATABASE
Deprecated. use the JoinSyntax enum instead. |
static int |
SYNTAX_SQL92
Deprecated. use the JoinSyntax enum instead. |
static int |
SYNTAX_TRADITIONAL
Deprecated. use the JoinSyntax enum instead. |
Fields inherited from interface org.apache.openjpa.persistence.FetchPlan |
---|
DEFAULT, DEPTH_INFINITE, GROUP_ALL, GROUP_DEFAULT |
Methods inherited from interface org.apache.openjpa.persistence.FetchPlan |
---|
getDelegate, getFetchBatchSize, getFetchGroups, getFields, getLockTimeout, getMaxFetchDepth, getQueryResultCache, getQueryResultCacheEnabled, getReadLockMode, getWriteLockMode, hasField, hasField, setQueryResultCache |
Field Detail |
---|
static final int EAGER_NONE
FetchMode
enum instead.static final int EAGER_JOIN
FetchMode
enum instead.static final int EAGER_PARALLEL
FetchMode
enum instead.static final int SIZE_UNKNOWN
LRSSizeAlgorithm
enum instead.static final int SIZE_LAST
LRSSizeAlgorithm
enum instead.static final int SIZE_QUERY
LRSSizeAlgorithm
enum instead.static final int SYNTAX_SQL92
JoinSyntax
enum instead.static final int SYNTAX_TRADITIONAL
JoinSyntax
enum instead.static final int SYNTAX_DATABASE
JoinSyntax
enum instead.Method Detail |
---|
FetchMode getEagerFetchMode()
JDBCFetchPlan setEagerFetchMode(FetchMode mode)
FetchMode getSubclassFetchMode()
JDBCFetchPlan setSubclassFetchMode(FetchMode mode)
ResultSetType getResultSetType()
JDBCFetchPlan setResultSetType(ResultSetType type)
FetchDirection getFetchDirection()
JDBCFetchPlan setFetchDirection(FetchDirection direction)
LRSSizeAlgorithm getLRSSizeAlgorithm()
JDBCFetchPlan setLRSSizeAlgorithm(LRSSizeAlgorithm lrsSizeAlgorithm)
JoinSyntax getJoinSyntax()
JDBCFetchPlan setJoinSyntax(JoinSyntax syntax)
IsolationLevel getIsolation()
openjpa.jdbc.TransactionIsolation
value.
JDBCFetchPlan setIsolation(IsolationLevel level)
openjpa.jdbc.TransactionIsolation
value.
JDBCFetchPlan addFetchGroup(String group)
addFetchGroup
in interface FetchPlan
JDBCFetchPlan addFetchGroups(Collection groups)
addFetchGroups
in interface FetchPlan
JDBCFetchPlan addFetchGroups(String... groups)
addFetchGroups
in interface FetchPlan
JDBCFetchPlan addField(Class cls, String field)
addField
in interface FetchPlan
JDBCFetchPlan addField(String field)
addField
in interface FetchPlan
JDBCFetchPlan addFields(Class cls, Collection fields)
addFields
in interface FetchPlan
JDBCFetchPlan addFields(Class cls, String... fields)
addFields
in interface FetchPlan
JDBCFetchPlan addFields(Collection fields)
addFields
in interface FetchPlan
JDBCFetchPlan addFields(String... fields)
addFields
in interface FetchPlan
JDBCFetchPlan clearFetchGroups()
clearFetchGroups
in interface FetchPlan
JDBCFetchPlan clearFields()
clearFields
in interface FetchPlan
JDBCFetchPlan removeFetchGroup(String group)
removeFetchGroup
in interface FetchPlan
JDBCFetchPlan removeFetchGroups(Collection groups)
removeFetchGroups
in interface FetchPlan
JDBCFetchPlan removeFetchGroups(String... groups)
removeFetchGroups
in interface FetchPlan
JDBCFetchPlan removeField(Class cls, String field)
removeField
in interface FetchPlan
JDBCFetchPlan removeField(String field)
removeField
in interface FetchPlan
JDBCFetchPlan removeFields(Class cls, Collection fields)
removeFields
in interface FetchPlan
JDBCFetchPlan removeFields(Class cls, String... fields)
removeFields
in interface FetchPlan
JDBCFetchPlan removeFields(String... fields)
removeFields
in interface FetchPlan
JDBCFetchPlan removeFields(Collection fields)
removeFields
in interface FetchPlan
JDBCFetchPlan resetFetchGroups()
resetFetchGroups
in interface FetchPlan
JDBCFetchPlan setQueryResultCacheEnabled(boolean cache)
setQueryResultCacheEnabled
in interface FetchPlan
JDBCFetchPlan setFetchBatchSize(int fetchBatchSize)
setFetchBatchSize
in interface FetchPlan
JDBCFetchPlan setLockTimeout(int timeout)
setLockTimeout
in interface FetchPlan
JDBCFetchPlan setMaxFetchDepth(int depth)
setMaxFetchDepth
in interface FetchPlan
JDBCFetchPlan setReadLockMode(javax.persistence.LockModeType mode)
setReadLockMode
in interface FetchPlan
JDBCFetchPlan setWriteLockMode(javax.persistence.LockModeType mode)
setWriteLockMode
in interface FetchPlan
JDBCFetchPlan setEagerFetchMode(int mode)
setEagerFetchMode(FetchMode)
instead.
JDBCFetchPlan setSubclassFetchMode(int mode)
setSubclassFetchMode(FetchMode)
instead.
JDBCFetchPlan setResultSetType(int mode)
setResultSetType(ResultSetType)
instead.
JDBCFetchPlan setFetchDirection(int direction)
setFetchDirection(FetchDirection)
instead.
int getLRSSize()
getLRSSizeAlgorithm()
instead.
JDBCFetchPlan setLRSSize(int lrsSizeMode)
setLRSSizeAlgorithm(LRSSizeAlgorithm)
instead.
JDBCFetchPlan setJoinSyntax(int syntax)
setJoinSyntax(JoinSyntax)
instead.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |