Package org.jumpmind.db.platform.mssql
Class MsSqlJdbcSqlTransaction
java.lang.Object
org.jumpmind.db.sql.JdbcSqlTransaction
org.jumpmind.db.platform.mssql.MsSqlJdbcSqlTransaction
- All Implemented Interfaces:
ISqlTransaction
-
Field Summary
Fields inherited from class org.jumpmind.db.sql.JdbcSqlTransaction
autoCommit, batchSize, connection, inBatchMode, jdbcSqlTemplate, listeners, logSqlBuilder, markers, oldAutoCommitValue, psql, pstmt -
Constructor Summary
ConstructorsConstructorDescriptionMsSqlJdbcSqlTransaction(JdbcSqlTemplate sqltemplate) MsSqlJdbcSqlTransaction(JdbcSqlTemplate sqltemplate, boolean autoCommit) -
Method Summary
Modifier and TypeMethodDescriptionvoidallowInsertIntoAutoIncrementColumns(boolean allow, Table table, String quote, String catalogSeparator, String schemaSeparator) Indicate that the current session is to allow updates to columns that have been marked as auto increment.booleanMethods inherited from class org.jumpmind.db.sql.JdbcSqlTransaction
addRow, addSqlTransactionListener, clearBatch, close, commit, execute, executeAllowingResults, executeCallback, executePreparedUpdate, flush, getBatchSize, getConnection, getLogSqlBuilder, getUnflushedMarkers, init, insertWithGeneratedKey, isInBatchMode, normalizeUpdateCount, prepare, prepareAndExecute, prepareAndExecute, prepareAndExecute, query, query, queryForInt, queryForLong, queryForObject, queryForRow, removeMarkersThatWereSuccessful, rollback, rollback, setBatchSize, setInBatchMode, setLogSqlBuilder
-
Constructor Details
-
MsSqlJdbcSqlTransaction
-
MsSqlJdbcSqlTransaction
-
-
Method Details
-
allowInsertIntoAutoIncrementColumns
public void allowInsertIntoAutoIncrementColumns(boolean allow, Table table, String quote, String catalogSeparator, String schemaSeparator) Description copied from interface:ISqlTransactionIndicate that the current session is to allow updates to columns that have been marked as auto increment. This is specific to SQL Server.- Specified by:
allowInsertIntoAutoIncrementColumnsin interfaceISqlTransaction- Overrides:
allowInsertIntoAutoIncrementColumnsin classJdbcSqlTransaction
-
isAllowInsertIntoAutoIncrement
public boolean isAllowInsertIntoAutoIncrement()- Specified by:
isAllowInsertIntoAutoIncrementin interfaceISqlTransaction- Overrides:
isAllowInsertIntoAutoIncrementin classJdbcSqlTransaction
-