public class SQLServerBatchAction extends BatchAction
batch, keyRowDescriptor, query
adapter, entityResolver
Constructor and Description |
---|
SQLServerBatchAction(BatchQuery batchQuery,
JdbcAdapter adapter,
EntityResolver entityResolver) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
expectsToOverrideIdentityColumns()
Returns whether a table has identity columns.
|
void |
performAction(Connection connection,
OperationObserver observer)
Executes a query using a strategy defined by the implementation.
|
protected void |
setIdentityInsert(Connection connection,
boolean on) |
createBuilder, getQuery, hasGeneratedKeys, isBatch, processGeneratedKeys, runAsBatch, runAsIndividualQueries, setBatch
getAdapter, getEntityResolver, getInMemoryOffset, readResultSet
public SQLServerBatchAction(BatchQuery batchQuery, JdbcAdapter adapter, EntityResolver entityResolver)
public void performAction(Connection connection, OperationObserver observer) throws SQLException, Exception
SQLAction
performAction
in interface SQLAction
performAction
in class BatchAction
SQLException
Exception
protected void setIdentityInsert(Connection connection, boolean on) throws SQLException
SQLException
protected boolean expectsToOverrideIdentityColumns()
Copyright © 2001–2014 Apache Cayenne. All rights reserved.