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 TypeMethodDescriptionvoid
allowInsertIntoAutoIncrementColumns
(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.boolean
Methods 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:ISqlTransaction
Indicate 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:
allowInsertIntoAutoIncrementColumns
in interfaceISqlTransaction
- Overrides:
allowInsertIntoAutoIncrementColumns
in classJdbcSqlTransaction
-
isAllowInsertIntoAutoIncrement
public boolean isAllowInsertIntoAutoIncrement()- Specified by:
isAllowInsertIntoAutoIncrement
in interfaceISqlTransaction
- Overrides:
isAllowInsertIntoAutoIncrement
in classJdbcSqlTransaction
-