I was wondering if there is a way to have a transaction on an object. I ask this question for the following situation:
We transfer our object to our information resource. There we use a transaction to ensure that the database is not corrupted.
In this process, the object can be modified (datechanged, owner, ect ...). But if the transaction failed, the transaction rolls back the transactions in the database, but not on your object.
Thus, your object (which is passed by reference) is incorrect.
I hope there is a solution for this.
source
share