Package org.apache.cayenne.dba.sqlserver
Class SQLServerBatchAction
java.lang.Object
org.apache.cayenne.access.jdbc.BaseSQLAction
org.apache.cayenne.access.jdbc.BatchAction
org.apache.cayenne.dba.sqlserver.SQLServerBatchAction
- All Implemented Interfaces:
- SQLAction
- Since:
- 1.2
- 
Field SummaryFields inherited from class org.apache.cayenne.access.jdbc.BatchActionkeyRowDescriptor, query, runningAsBatchFields inherited from class org.apache.cayenne.access.jdbc.BaseSQLActiondataNode
- 
Constructor SummaryConstructorsConstructorDescriptionSQLServerBatchAction(BatchQuery batchQuery, DataNode dataNode, boolean runningAsBatch) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanReturns whether a table has identity columns.voidperformAction(Connection connection, OperationObserver observer) Executes a query using a strategy defined by the implementation.protected voidsetIdentityInsert(Connection connection, boolean on) Methods inherited from class org.apache.cayenne.access.jdbc.BatchActioncanRunAsBatch, createTranslator, getQuery, hasGeneratedKeys, prepareStatement, processGeneratedKeys, processGeneratedKeys, runAsBatch, runAsIndividualQueries, supportsGeneratedKeysMethods inherited from class org.apache.cayenne.access.jdbc.BaseSQLActiongetInMemoryOffset, readResultSet
- 
Constructor Details- 
SQLServerBatchAction
 
- 
- 
Method Details- 
performActionpublic void performAction(Connection connection, OperationObserver observer) throws SQLException, Exception Description copied from interface:SQLActionExecutes a query using a strategy defined by the implementation.- Specified by:
- performActionin interface- SQLAction
- Overrides:
- performActionin class- BatchAction
- Throws:
- SQLException
- Exception
 
- 
setIdentityInsert- Throws:
- SQLException
 
- 
expectsToOverrideIdentityColumnsprotected boolean expectsToOverrideIdentityColumns()Returns whether a table has identity columns.
 
-