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, runningAsBatchFields inherited from class org.apache.cayenne.access.jdbc.BaseSQLAction
dataNode -
Constructor Summary
ConstructorsConstructorDescriptionPostgresBatchAction(BatchQuery query, DataNode dataNode, boolean runningAsBatch) -
Method Summary
Modifier and TypeMethodDescriptionprotected PreparedStatementprepareStatement(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, supportsGeneratedKeysMethods 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:
prepareStatementin classBatchAction- Throws:
SQLException
-