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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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,
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) |
protected void |
BatchAction.runAsIndividualQueries(Connection connection,
BatchTranslator translator,
OperationObserver delegate,
boolean generatesKeys)
Executes batch as individual queries over the same prepared statement.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
SQLServerBatchAction.performAction(Connection connection,
OperationObserver observer) |
void |
SQLServerProcedureAction.performAction(Connection connection,
OperationObserver observer) |
Modifier and Type | Method and Description |
---|---|
void |
SQLAction.performAction(Connection connection,
OperationObserver observer)
Executes a query using a strategy defined by the implementation.
|
Copyright © 2001–2019 Apache Cayenne. All rights reserved.