Tip: Apply before committing
The commitTransaction action makes the changes permanent in the database. If your application has more than one query, be certain that you perform all apply actions for the various queries first, and perform the commitTransaction action last, since it commits all of the work for all transactions. Conversely, the rollbackTransaction action discards all of the work for all uncommitted transactions.
The commitTransaction and rollbackTransaction actions are executed against a database connection. If your application has more than one database connection, make sure that you commit or rollback against the correct connection.
Last modified date: 01/29/2015