Uses of Interface
org.apache.cayenne.access.OperationObserver
Package
Description
Contains classes that make up Cayenne ORM stack.
Contains classes that handle JDBC interactions.
FrontBase DbAdapter.
MS SQLServer DbAdapter.
Defines standard queries supported by Cayenne and extension mechanism to create
custom queries.
-
Uses of OperationObserver in org.apache.cayenne.access
Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeFieldDescriptionprotected final OperationObserver
DefaultDataDomainFlushAction.observer
-
Uses of OperationObserver in org.apache.cayenne.access.jdbc
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeClassDescriptionclass
Simple implementation of OperationObserver interface.class
A very simple observer that does nothing with provided data, and rethrows any reported exceptions.class
OperationObserver that is used to track the execution of SelectQueries with results returned as ResultIterator. -
Uses of OperationObserver in org.apache.cayenne.dba.frontbase
Modifier and TypeMethodDescriptionprotected void
FrontBaseTemplateAction.execute
(Connection connection, OperationObserver callback, SQLStatement compiled, Collection<Number> updateCounts) -
Uses of OperationObserver in org.apache.cayenne.dba.sqlserver
Modifier and TypeMethodDescriptionvoid
SQLServerBatchAction.performAction
(Connection connection, OperationObserver observer) void
SQLServerProcedureAction.performAction
(Connection connection, OperationObserver observer) -
Uses of OperationObserver in org.apache.cayenne.query
Modifier and TypeMethodDescriptionvoid
SQLAction.performAction
(Connection connection, OperationObserver observer) Executes a query using a strategy defined by the implementation.