Package org.apache.cayenne.dba.postgres
Class PostgresBatchAction
java.lang.Object
org.apache.cayenne.access.jdbc.BaseSQLAction
org.apache.cayenne.access.jdbc.BatchAction
org.apache.cayenne.dba.postgres.PostgresBatchAction
- All Implemented Interfaces:
SQLAction
-
Field Summary
Fields inherited from class org.apache.cayenne.access.jdbc.BatchAction
keyRowDescriptor, query, runningAsBatch
Fields inherited from class org.apache.cayenne.access.jdbc.BaseSQLAction
dataNode
-
Constructor Summary
ConstructorDescriptionPostgresBatchAction
(BatchQuery query, DataNode dataNode, boolean runningAsBatch) -
Method Summary
Modifier and TypeMethodDescriptionprotected PreparedStatement
prepareStatement
(Connection connection, String queryStr, DbAdapter adapter, boolean generatedKeys) Methods inherited from class org.apache.cayenne.access.jdbc.BatchAction
canRunAsBatch, createTranslator, getQuery, hasGeneratedKeys, performAction, processGeneratedKeys, processGeneratedKeys, runAsBatch, runAsIndividualQueries, supportsGeneratedKeys
Methods inherited from class org.apache.cayenne.access.jdbc.BaseSQLAction
getInMemoryOffset, readResultSet
-
Constructor Details
-
PostgresBatchAction
- Since:
- 4.0
-
-
Method Details
-
prepareStatement
protected PreparedStatement prepareStatement(Connection connection, String queryStr, DbAdapter adapter, boolean generatedKeys) throws SQLException - Overrides:
prepareStatement
in classBatchAction
- Throws:
SQLException
-