Usage of commit or rollback calls
MDM can take advantage of commit and rollback calls to log additional data (for
example, access to records).
For read-only operations:
- If you are able to initiate the read operation and read all the records you want to, you should call commit. This indicates to MDM that the read operation has completed successfully and the user is able to see all results in the query.
- If something goes wrong when you read the query results, you should call rollback. This can be used to log that a query has caused an issue and MDM is not able to serve results.