org.apache.cayenne.query

## Interface SQLAction

- All Known Implementing Classes:
    BaseSQLAction, BatchAction, EJBQLAction, IngresSelectAction, ProcedureAction, SelectAction, SQLServerBatchAction, SQLServerProcedureAction, SQLServerSelectAction, SQLTemplateAction

      public interface SQLAction

  Defines API for query execution strategy over JDBC connection (as in Strategy Pattern). SQLAction unified interface allows a high degree of customization for JDBC interactions.
  Since:
    1.2

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `performAction(Connection connection, OperationObserver observer)` Executes a query using a strategy defined by the implementation.

- - ### Method Detail

    - #### performAction

          void performAction(Connection connection,
                             OperationObserver observer)
                      throws SQLException,
                             Exception

      Executes a query using a strategy defined by the implementation.
      Throws:
        `SQLException`
        `Exception`

Copyright © 2001–2018 Apache Cayenne. All rights reserved.