Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-02


oracle.toplink.queryframework
Class ResultSetMappingQuery

java.lang.Object
  extended by oracle.toplink.queryframework.DatabaseQuery
      extended by oracle.toplink.queryframework.ReadQuery
          extended by oracle.toplink.queryframework.ObjectBuildingQuery
              extended by oracle.toplink.queryframework.ResultSetMappingQuery

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, oracle.toplink.internal.helper.FalseUndefinedTrue

public class ResultSetMappingQuery
extends ObjectBuildingQuery

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

Since:
TopLink Java Essentials
See Also:
SQLResultSetMapping, Serialized Form

Field 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.ObjectBuildingQuery
dontRefreshIdentityMapResult, dontRefreshRemoteIdentityMapResult, getFetchGroup, getLockMode, getReferenceClass, isLockQuery, isObjectBuildingQuery, refreshIdentityMapResult, refreshRemoteIdentityMapResult, setLockMode, setReferenceClass, setShouldProcessResultsInUnitOfWork, setShouldRefreshIdentityMapResult, setShouldRefreshRemoteIdentityMapResult, setShouldUseExclusiveConnection, shouldProcessResultsInUnitOfWork, shouldRefreshIdentityMapResult, shouldRefreshRemoteIdentityMapResult, shouldUseExclusiveConnection, toString

 

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 oracle.toplink.queryframework.DatabaseQuery
addArgument, addArgument, addArgument, addArgumentValue, addArgumentValues, addCall, addStatement, bindAllParameters, cacheStatement, cascadeAllParts, cascadeByMapping, cascadePrivateParts, dontBindAllParameters, dontCacheStatement, dontCascadeParts, dontMaintainCache, getCall, getCalls, getDatasourceCall, getDatasourceCalls, getEJBQLString, getFlushOnExecute, getHintString, getJPQLString, getName, getQueryTimeout, getRedirector, getSelectionCriteria, getSessionName, getSQLStatement, getSQLString, getSQLStrings, getTranslatedSQLString, getTranslatedSQLStrings, hasSessionName, ignoreBindAllParameters, ignoreCacheStatement, isCallQuery, isDataModifyQuery, isDataReadQuery, isDeleteAllQuery, isDeleteObjectQuery, isDirectReadQuery, isExpressionQuery, isInsertObjectQuery, isModifyAllQuery, isModifyQuery, isNativeConnectionRequired, isObjectLevelModifyQuery, isObjectLevelReadQuery, isReadAllQuery, isReadObjectQuery, isReportQuery, isSQLCallQuery, isUpdateAllQuery, isUpdateObjectQuery, isValueReadQuery, isWriteObjectQuery, maintainCache, prepareCall, setCall, setDatasourceCall, setEJBQLString, setFlushOnExecute, setHintString, setIsNativeConnectionRequired, setJPQLString, setName, setQueryTimeout, setRedirector, setSelectionCriteria, setSessionName, setShouldBindAllParameters, setShouldCacheStatement, setShouldMaintainCache, setShouldPrepare, setShouldUseWrapperPolicy, setSQLStatement, setSQLString, shouldBindAllParameters, shouldCacheStatement, shouldCascadeAllParts, shouldCascadeByMapping, shouldCascadeParts, shouldCascadePrivateParts, shouldIgnoreBindAllParameters, shouldIgnoreCacheStatement, shouldMaintainCache, shouldPrepare, shouldUseWrapperPolicy

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ResultSetMappingQuery

public ResultSetMappingQuery()
Initialize the state of the query.

ResultSetMappingQuery

public ResultSetMappingQuery(Call call)
Initialize the query to use the specified call.

ResultSetMappingQuery

public ResultSetMappingQuery(Call call,
                             java.lang.String sqlResultSetMappingName)
Initialize the query to use the specified call and SQLResultSetMapping

Method Detail

setSQLResultSetMapping

public void setSQLResultSetMapping(SQLResultSetMapping resultSetMapping)
This will be the SQLResultSetMapping that is used by this query to process the database results

setSQLResultSetMappingName

public void setSQLResultSetMappingName(java.lang.String name)
This will be the SQLResultSetMapping that is used by this query to process the database results

getSQLResultSetMapping

public SQLResultSetMapping getSQLResultSetMapping()
This will be the SQLResultSetMapping that is used by this query to process the database results

getSQLResultSetMappingName

public java.lang.String getSQLResultSetMappingName()
Return the result set mapping name.

Skip navigation links

Copyright © 1998, 2009, Oracle. All Rights Reserved.