Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cayenne.access.jdbc
Class EJBQLAction

    java.lang.Object
      org.apache.cayenne.access.jdbc.BaseSQLAction
          org.apache.cayenne.access.jdbc.EJBQLAction

All Implemented Interfaces:
  SQLAction

    public class EJBQLAction

extends BaseSQLAction

Parses an EJBQL statement, converting it to SQL. Executes the resulting SQL.

Since:
  3.0

Field Summary
`protected SQLActionVisitor` | `actionFactory`
`protected EJBQLQuery` | `query`

Fields inherited from class org.apache.cayenne.access.jdbc.BaseSQLAction
`adapter, entityResolver`

Constructor Summary
`EJBQLAction(EJBQLQuery query, SQLActionVisitor actionFactory, JdbcAdapter adapter, EntityResolver entityResolver)`

Method Summary
`void` | `performAction(java.sql.Connection connection, OperationObserver observer)` Executes a query using a strategy defined by the implementation.

Methods inherited from class org.apache.cayenne.access.jdbc.BaseSQLAction
`getAdapter, getEntityResolver, getInMemoryOffset, readResultSet`

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

Field Detail

### actionFactory

    protected SQLActionVisitor actionFactory

### query

    protected EJBQLQuery query

Constructor Detail

### EJBQLAction

    public EJBQLAction(EJBQLQuery query,
                       SQLActionVisitor actionFactory,
                       JdbcAdapter adapter,
                       EntityResolver entityResolver)

Method Detail

### performAction

    public void performAction(java.sql.Connection connection,
                              OperationObserver observer)
                       throws java.sql.SQLException,
                              java.lang.Exception

  Description copied from interface: `SQLAction`
  Executes a query using a strategy defined by the implementation.

  Throws:
    `java.sql.SQLException`
    `java.lang.Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.