SE_connection_set_transaction_autocommit

Sets the transaction autocommit interval

Usage syntax

LONG SE_connection_set_transaction_autocommit (SE_CONNECTION connection, LONG interval);

Parameters
connection The connection handle
interval Number of modification operations to do before an autocommit
Description

SE_connection_set_transaction_autocommit sets the transaction autocommit interval for the specified connection. The autocommit interval is the number of database write operations (inserts, deletes, and updates) to allow before forcing the underlying database to commit changes.

Returns
SE_SUCCESS
SE_CONNECTION_IN_USE

SE_CONNECTION_LOCKED

SE_INVALID_CONNECTION

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_NET_FAILURE

SE_SDE_NOT_STARTED
Notes

∙  If the autocommit interval is set to 0, autocommits are not performed.

∙  If this function is not called, the autocommit interval defaults to the value of the AUTOCOMMIT parameter in the server_config table. (The table name in PostgreSQL and SQL Server is sde_server_config.)

∙  A return code >= 0 indicates SUCCESS.