# Uses of Interface
org.apache.cayenne.access.OperationObserver

Packages that use OperationObserver
Package
Description
org.apache.cayenne.access
Contains classes that make up Cayenne ORM stack.
org.apache.cayenne.access.flush
org.apache.cayenne.access.jdbc
Contains classes that handle JDBC interactions.
org.apache.cayenne.access.util
org.apache.cayenne.dba.frontbase
FrontBase DbAdapter.
org.apache.cayenne.dba.sqlserver
MS SQLServer DbAdapter.
org.apache.cayenne.query
Defines standard queries supported by Cayenne and extension mechanism to create custom queries.

- ## Uses of OperationObserver in org.apache.cayenne.access

  Methods in org.apache.cayenne.access with parameters of type OperationObserver
  Modifier and Type
  Method
  Description
  `void`
  DataDomain.`performQueries(Collection<? extends Query> queries, OperationObserver callback)`
  Routes queries to appropriate DataNodes for execution.
  `void`
  DataNode.`performQueries(Collection<? extends Query> queries, OperationObserver callback)`
  Runs queries using Connection obtained from internal DataSource.
  `void`
  QueryEngine.`performQueries(Collection<? extends Query> queries, OperationObserver resultConsumer)`
  Executes a list of queries wrapping them in its own transaction.

- ## Uses of OperationObserver in org.apache.cayenne.access.flush

  Fields in org.apache.cayenne.access.flush declared as OperationObserver
  Modifier and Type
  Field
  Description
  `protected final OperationObserver`
  DefaultDataDomainFlushAction.`observer`

- ## Uses of OperationObserver in org.apache.cayenne.access.jdbc

  Methods in org.apache.cayenne.access.jdbc with parameters of type OperationObserver
  Modifier and Type
  Method
  Description
  `protected void`
  SQLTemplateAction.`execute(Connection connection, OperationObserver callback, SQLStatement compiled, Collection<Number> updateCounts)`
  `void`
  BatchAction.`performAction(Connection connection, OperationObserver observer)`
  `void`
  EJBQLAction.`performAction(Connection connection, OperationObserver observer)`
  `void`
  ProcedureAction.`performAction(Connection connection, OperationObserver observer)`
  `void`
  SelectAction.`performAction(Connection connection, OperationObserver observer)`
  `void`
  SQLTemplateAction.`performAction(Connection connection, OperationObserver callback)`
  Runs a SQLTemplate query, collecting all results.
  `protected void`
  BatchAction.`processGeneratedKeys(Statement statement, OperationObserver observer, List<BatchQueryRow> rows)`
  `protected void`
  BatchAction.`processGeneratedKeys(Statement statement, OperationObserver observer, BatchQueryRow row)`
  Implements generated keys extraction supported in JDBC 3.0 specification.
  `protected void`
  SQLTemplateAction.`processSelectResult(SQLStatement compiled, Connection connection, Statement statement, ResultSet resultSet, OperationObserver callback, long startTime)`
  `protected void`
  ProcedureAction.`readProcedureOutParameters(CallableStatement statement, OperationObserver delegate)`
  Helper method that reads OUT parameters of a CallableStatement.
  `protected void`
  BaseSQLAction.`readResultSet(ResultSet resultSet, RowDescriptor descriptor, Query query, OperationObserver delegate)`
  Helper method to process a ResultSet.
  `protected void`
  BatchAction.`runAsBatch(Connection con, BatchTranslator translator, OperationObserver delegate, boolean generatesKeys)`
  `protected void`
  BatchAction.`runAsIndividualQueries(Connection connection, BatchTranslator translator, OperationObserver delegate, boolean generatesKeys)`
  Executes batch as individual queries over the same prepared statement.

- ## Uses of OperationObserver in org.apache.cayenne.access.util

  Classes in org.apache.cayenne.access.util that implement OperationObserver
  Modifier and Type
  Class
  Description
  `class`
  `DefaultOperationObserver`
  Simple implementation of OperationObserver interface.
  `class`
  `DoNothingOperationObserver`
  A very simple observer that does nothing with provided data, and rethrows any reported exceptions.
  `class`
  `IteratedSelectObserver`
  OperationObserver that is used to track the execution of SelectQueries with results returned as ResultIterator.

- ## Uses of OperationObserver in org.apache.cayenne.dba.frontbase

  Methods in org.apache.cayenne.dba.frontbase with parameters of type OperationObserver
  Modifier and Type
  Method
  Description
  `protected void`
  FrontBaseTemplateAction.`execute(Connection connection, OperationObserver callback, SQLStatement compiled, Collection<Number> updateCounts)`

- ## Uses of OperationObserver in org.apache.cayenne.dba.sqlserver

  Methods in org.apache.cayenne.dba.sqlserver with parameters of type OperationObserver
  Modifier and Type
  Method
  Description
  `void`
  SQLServerBatchAction.`performAction(Connection connection, OperationObserver observer)`
  `void`
  SQLServerProcedureAction.`performAction(Connection connection, OperationObserver observer)`

- ## Uses of OperationObserver in org.apache.cayenne.query

  Methods in org.apache.cayenne.query with parameters of type OperationObserver
  Modifier and Type
  Method
  Description
  `void`
  SQLAction.`performAction(Connection connection, OperationObserver observer)`
  Executes a query using a strategy defined by the implementation.