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

## org.apache.cayenne.query
Interface SQLAction

All Known Implementing Classes:
  BaseSQLAction, BatchAction, ProcedureAction, SelectAction, SQLServerBatchAction, SQLServerProcedureAction, SQLTemplateAction, UpdateAction

    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
Author:
  Andrei Adamchik

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

Method Detail

### performAction

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

  Executes a query using a strategy defined by the implementation.

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

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

Copyright © 2001-2006 Apache.org All Rights Reserved.