Skip navigation links

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

E28847-01


oracle.eclipselink.coherence.integrated.internal.querying
Class EclipseLinkQueryFailurePolicy

java.lang.Object
  extended by oracle.eclipselink.coherence.integrated.internal.querying.EclipseLinkQueryFailurePolicy

All Implemented Interfaces:
TranslationFailureDelegate

public class EclipseLinkQueryFailurePolicy
extends java.lang.Object
implements TranslationFailureDelegate

TopLink-Grid's policy is to redirect the query to the database.

Author:
gyorke

Constructor Summary
EclipseLinkQueryFailurePolicy()
           

 

Method Summary
 java.lang.Object translationFailed(DatabaseQuery query, Record arguments, Session session)
          This method is called when the query can not be translated by the configured FilterFactory.

 

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

 

Constructor Detail

EclipseLinkQueryFailurePolicy

public EclipseLinkQueryFailurePolicy()

Method Detail

translationFailed

public java.lang.Object translationFailed(DatabaseQuery query,
                                          Record arguments,
                                          Session session)
Description copied from interface: TranslationFailureDelegate
This method is called when the query can not be translated by the configured FilterFactory. This methods should return the correct results in the form expected by the query (ReadAllQuery.getContainerPolicy). If the results can not be obtained an Exception should be thrown.
Specified by:
translationFailed in interface TranslationFailureDelegate
Returns:

Skip navigation links

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