Using the Database Adapter for Enterprise Server, SQL statements are only committed when a component script has finished executing.
If TRY-CATCH blocks are used to handle exceptions in a multi-action database script, the script will continue to work towards its finish line and will, at that point, commit the database actions which did not fail.
Therefore, a rollback should be called in the database action CATCH blocks. This will definitively prevent the prior database actions from committing to the database upon the script’s exit.
#Universal-Messaging-Broker#webMethods#broker#Integration-Server-and-ESB