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
public class PostgresBatchAction extends BatchAction
-
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
Constructors Constructor Description PostgresBatchAction(BatchQuery query, DataNode dataNode, boolean runningAsBatch) -
Method Summary
Modifier and Type Method Description protected PreparedStatementprepareStatement(Connection connection, String queryStr, DbAdapter adapter, boolean generatedKeys)Methods inherited from class org.apache.cayenne.access.jdbc.BatchAction
createTranslator, getQuery, hasGeneratedKeys, performAction, processGeneratedKeys, runAsBatch, runAsIndividualQueriesMethods 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
-