SE_connection_set_transaction_autocommit |
Sets the transaction autocommit interval
LONG SE_connection_set_transaction_autocommit (SE_CONNECTION connection, LONG interval);
connection | The connection handle |
interval | Number of modification operations to do before an autocommit |
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.
∙ 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.