|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.queryframework.DatabaseQuery oracle.toplink.queryframework.ReadQuery oracle.toplink.queryframework.ObjectBuildingQuery oracle.toplink.queryframework.ResultSetMappingQuery
public class ResultSetMappingQuery
Purpose: Concrete class to perform read using raw SQL and the SQLResultSetMapping.
Responsibilities: Execute a selecting raw SQL string. Returns a List of results. Each item in the list will be another list consisting of the expected populated return types in the order they were specified in the SQLResultSetMapping
SQLResultSetMapping
,
Serialized FormField Summary |
---|
Fields inherited from class oracle.toplink.queryframework.ObjectBuildingQuery |
---|
DEFAULT_LOCK_MODE, LOCK, LOCK_NOWAIT, NO_LOCK |
Fields inherited from class oracle.toplink.queryframework.DatabaseQuery |
---|
CascadeAggregateDelete, CascadeAllParts, CascadeByMapping, CascadeDependentParts, CascadePrivateParts, NoCascading |
Constructor Summary | |
---|---|
ResultSetMappingQuery()
Initialize the state of the query. |
|
ResultSetMappingQuery(Call call)
Initialize the query to use the specified call. |
|
ResultSetMappingQuery(Call call,
java.lang.String sqlResultSetMappingName)
Initialize the query to use the specified call and SQLResultSetMapping |
Method Summary | |
---|---|
SQLResultSetMapping |
getSQLResultSetMapping()
This will be the SQLResultSetMapping that is used by this query to process the database results |
java.lang.String |
getSQLResultSetMappingName()
Return the result set mapping name. |
void |
setSQLResultSetMapping(SQLResultSetMapping resultSetMapping)
This will be the SQLResultSetMapping that is used by this query to process the database results |
void |
setSQLResultSetMappingName(java.lang.String name)
This will be the SQLResultSetMapping that is used by this query to process the database results |
Methods inherited from class oracle.toplink.queryframework.ReadQuery |
---|
cacheQueryResults, clearQueryResults, clearQueryResults, doNotCacheQueryResults, getFetchSize, getFirstResult, getMaxRows, getQueryResultsCachePolicy, isReadQuery, setFetchSize, setFirstResult, setMaxRows, setQueryResultsCachePolicy, setShouldCacheQueryResults, shouldCacheQueryResults |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultSetMappingQuery()
public ResultSetMappingQuery(Call call)
public ResultSetMappingQuery(Call call, java.lang.String sqlResultSetMappingName)
Method Detail |
---|
public void setSQLResultSetMapping(SQLResultSetMapping resultSetMapping)
public void setSQLResultSetMappingName(java.lang.String name)
public SQLResultSetMapping getSQLResultSetMapping()
public java.lang.String getSQLResultSetMappingName()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |