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.jdbc Contains classes that handle JDBC interactions.org.apache.cayenne.access.util 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 voidDataDomain. performQueries(Collection<? extends Query> queries, OperationObserver callback)Routes queries to appropriate DataNodes for execution.voidDataNode. performQueries(Collection<? extends Query> queries, OperationObserver callback)Runs queries using Connection obtained from internal DataSource.voidQueryEngine. 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.jdbc
Methods in org.apache.cayenne.access.jdbc with parameters of type OperationObserver Modifier and Type Method Description protected voidSQLTemplateAction. execute(Connection connection, OperationObserver callback, SQLStatement compiled, Collection<Number> updateCounts)voidBatchAction. performAction(Connection connection, OperationObserver observer)voidEJBQLAction. performAction(Connection connection, OperationObserver observer)voidProcedureAction. performAction(Connection connection, OperationObserver observer)voidSelectAction. performAction(Connection connection, OperationObserver observer)voidSQLTemplateAction. performAction(Connection connection, OperationObserver callback)Runs a SQLTemplate query, collecting all results.protected voidBatchAction. processGeneratedKeys(Statement statement, OperationObserver observer, BatchQueryRow row)Implements generated keys extraction supported in JDBC 3.0 specification.protected voidSQLTemplateAction. processSelectResult(SQLStatement compiled, Connection connection, Statement statement, ResultSet resultSet, OperationObserver callback, long startTime)protected voidProcedureAction. readProcedureOutParameters(CallableStatement statement, OperationObserver delegate)Helper method that reads OUT parameters of a CallableStatement.protected voidBaseSQLAction. readResultSet(ResultSet resultSet, RowDescriptor descriptor, Query query, OperationObserver delegate)Helper method to process a ResultSet.protected voidBatchAction. runAsBatch(Connection con, BatchTranslator translator, OperationObserver delegate)protected voidBatchAction. 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 classDefaultOperationObserverSimple implementation of OperationObserver interface.classDoNothingOperationObserverA very simple observer that does nothing with provided data, and rethrows any reported exceptions.classIteratedSelectObserverOperationObserver that is used to track the execution of SelectQueries with results returned as ResultIterator. -
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 voidSQLServerBatchAction. performAction(Connection connection, OperationObserver observer)voidSQLServerProcedureAction. 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 voidSQLAction. performAction(Connection connection, OperationObserver observer)Executes a query using a strategy defined by the implementation.
-