Package org.eclipse.persistence.queries
Class QueryRedirectorHelper
- java.lang.Object
-
- org.eclipse.persistence.queries.QueryRedirectorHelper
-
public class QueryRedirectorHelper extends java.lang.Object
Purpose: The purpose of this class is to provide the query redirector with some helper methods for general EclipseLink operations (such as checking a query against the cache) which may not occur because the query is being redirected.
- Author:
- Gordon Yorke
-
-
Constructor Summary
Constructors Constructor Description QueryRedirectorHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
checkEclipseLinkCache(DatabaseQuery query, Record record, Session session)
This method will cause EclipseLink to check the EclipseLink cache for the object.
-
-
-
Method Detail
-
checkEclipseLinkCache
public static java.lang.Object checkEclipseLinkCache(DatabaseQuery query, Record record, Session session)
This method will cause EclipseLink to check the EclipseLink cache for the object. EclipseLink always checks the shared cache before executing a query but because the query has been redirected in this case the cache check has also been redirected. Through this method the redirector can have EclipseLink check the cache in the normal manner.
-
-