Package org.apache.cayenne.query
Interface SQLAction
- All Known Implementing Classes:
- BaseSQLAction,- BatchAction,- EJBQLAction,- IngresSelectAction,- PostgresBatchAction,- ProcedureAction,- SelectAction,- SQLServerBatchAction,- SQLServerProcedureAction,- 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 SummaryModifier and Type Method Description voidperformAction(Connection connection, OperationObserver observer)Executes a query using a strategy defined by the implementation.
- 
Method Details- 
performActionvoid performAction(Connection connection, OperationObserver observer) throws SQLException, ExceptionExecutes a query using a strategy defined by the implementation.- Throws:
- SQLException
- Exception
 
 
-