EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.queries
Class QueryRedirectorHelper

java.lang.Object
  extended by 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
QueryRedirectorHelper()
           
 
Method Summary
static java.lang.Object checkEclipseLinkCache(DatabaseQuery query, Record record, Session session)
          This method will cause EclipseLink to check the EclipseLink cache for the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryRedirectorHelper

public QueryRedirectorHelper()
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.


EclipseLink 2.4.2, build 'v20130514-5956486' API Reference