SQLAction (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.query, interface: SQLAction

# Interface SQLAction

All Known Implementing Classes:
  `BaseSQLAction, BatchAction, DB2SelectAction, DerbySelectAction, EJBQLAction, FirebirdSelectAction, FrontBaseTemplateAction, H2SelectAction, IngresSelectAction, PostgresBatchAction, ProcedureAction, SelectAction, SQLiteSelectAction, 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

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

- ## Method Details

  - ### performAction

    void performAction(Connection connection, OperationObserver observer) throws SQLException, Exception
    Executes a query using a strategy defined by the implementation.
    Throws:
      `SQLException`
      `Exception`