Class FrontBaseTemplateAction
java.lang.Object
org.apache.cayenne.access.jdbc.SQLTemplateAction
org.apache.cayenne.dba.frontbase.FrontBaseTemplateAction
- All Implemented Interfaces:
SQLAction
- Since:
- 4.2
-
Field Summary
Fields inherited from class SQLTemplateAction
dataNode, dbAdapter, dbEntity, query, queryMetadataModifier and TypeFieldDescriptionprotected DataNodeprotected DbAdapterprotected DbEntityprotected SQLTemplateprotected QueryMetadata -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(Connection connection, OperationObserver callback, SQLStatement compiled, Collection<Number> updateCounts) Methods inherited from class SQLTemplateAction
bind, configureRowDescriptorBuilder, extractTemplateString, getAdapter, getFetchOffset, getQuery, performAction, processSelectResultModifier and TypeMethodDescriptionprotected voidbind(PreparedStatement preparedStatement, ParameterBinding[] bindings) Binds parameters to the PreparedStatement.protected RowDescriptorBuilderconfigureRowDescriptorBuilder(SQLStatement compiled, ResultSet resultSet) protected StringExtracts a template string from a SQLTemplate query.Returns unwrapped DbAdapter used to find correct SQL for a given DB.protected intgetQuery()Returns a SQLTemplate for this action.voidperformAction(Connection connection, OperationObserver callback) Runs a SQLTemplate query, collecting all results.protected voidprocessSelectResult(SQLStatement compiled, Connection connection, Statement statement, ResultSet resultSet, OperationObserver callback, long startTime)
-
Constructor Details
-
FrontBaseTemplateAction
- Parameters:
query-dataNode-- Since:
- 4.2
-
-
Method Details
-
execute
protected void execute(Connection connection, OperationObserver callback, SQLStatement compiled, Collection<Number> updateCounts) throws SQLException, Exception - Overrides:
executein classSQLTemplateAction- Throws:
SQLExceptionException
-