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
public class SQLServerBatchAction
- extends BatchAction
- Since:
- 1.2
- Author:
- Andrei Adamchik
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLServerBatchAction
public SQLServerBatchAction(BatchQuery batchQuery,
DbAdapter adapter,
EntityResolver entityResolver)
performAction
public void performAction(java.sql.Connection connection,
OperationObserver observer)
throws java.sql.SQLException,
java.lang.Exception
- Description copied from interface:
SQLAction
- Executes a query using a strategy defined by the implementation.
- Specified by:
performAction
in interface SQLAction
- Overrides:
performAction
in class BatchAction
- Throws:
java.sql.SQLException
java.lang.Exception
setIdentityInsert
protected void setIdentityInsert(java.sql.Connection connection,
boolean on)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
expectsToOverrideIdentityColumns
protected boolean expectsToOverrideIdentityColumns()
- Returns whether a table has identity columns.
Copyright © 2001-2006 Apache.org All Rights Reserved.