java.lang.Object
org.eclipse.persistence.internal.xr.QueryHandler
Direct Known Subclasses:
JPQLQueryHandler, NamedQueryHandler, SQLQueryHandler, StoredProcedureQueryHandler

public abstract class QueryHandler extends Object

INTERNAL: QueryHandler sets out the basic rules for how Operations can use different types of queries (DataRead, ValueRead, etc.)

Since:
EclipseLink 1.x
  • Field Details

  • Constructor Details

    • QueryHandler

      public QueryHandler()
  • Method Details

    • getDatabaseQuery

      public DatabaseQuery getDatabaseQuery()
    • setDatabaseQuery

      public void setDatabaseQuery(DatabaseQuery databaseQuery)
    • validate

      public void validate(XRServiceAdapter xrService, QueryOperation queryOperation)
    • initialize

      public void initialize(XRServiceAdapter xrService, QueryOperation queryOperation)
    • initializeDatabaseQuery

      public void initializeDatabaseQuery(XRServiceAdapter xrService, QueryOperation queryOperation)

      INTERNAL: Initialize this QueryHandler's DatabaseQuery

      Parameters:
      xrService - the given DBWSService
      queryOperation - the given QueryOperation
    • initializeCall

      public void initializeCall(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery)

      INTERNAL: Initialize this QueryHandler's DatabaseQuery's Call. Typically no work is required, but for some QueryHandlers (JPQLQueryHandler, StoredProcedureQueryHandler, etc.) special handling may be required.

      Parameters:
      xrService - the given DBWSService
      queryOperation - the given QueryOperation
      databaseQuery - the given DatabaseQuery
    • initializeArguments

      public void initializeArguments(XRServiceAdapter xrService, QueryOperation queryOperation, DatabaseQuery databaseQuery)

      INTERNAL: Initialize this QueryHandler's DatabaseQuery's arguments from the Operation's Parameters

      Parameters:
      xrService - the given DBWSService
      queryOperation - the given QueryOperation
      databaseQuery - the given DatabaseQuery