|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Purpose: Query redirection allows for a named or parameterized query (or finder) to dynamically determine how the query is to be executed based on the arguments.
Description: An implementor of this interface can be given to a query to allow the user to have full control over the execution of the query. Redirection can be used to:
Note: If you execute the query on a UnitOfWork, the results register with that UnitOfWork, so any objects you attempt to retrieve with the invoke
method must come from the Session Cache.
MethodBaseQueryRedirector
, DatabaseQuery.setRedirector(oracle.toplink.queryframework.QueryRedirector)
Method Summary | |
java.lang.Object |
invokeQuery(DatabaseQuery query, DatabaseRow arguments, Session session) REQUIRED: Perform the query. |
Method Detail |
public java.lang.Object invokeQuery(DatabaseQuery query, DatabaseRow arguments, Session session)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |