Module org.eclipse.persistence.core
Package org.eclipse.persistence.queries
Class QueryRedirectorHelper
java.lang.Object
org.eclipse.persistence.queries.QueryRedirectorHelper
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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
checkEclipseLinkCache
(DatabaseQuery query, DataRecord dataRecord, Session session) This method will cause EclipseLink to check the EclipseLink cache for the object.
-
Method Details
-
checkEclipseLinkCache
public static Object checkEclipseLinkCache(DatabaseQuery query, DataRecord dataRecord, 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.
-