Hi, i've been reading up on transactions and how to use them. From what i see i simply put BEGIN at the start and then COMMIT at the end.
The reason i'm using transactions is because i don't want updates to take effect until every update has been made. Therefore i'm wondering whether the database changes are committed if the user closes their browser half way through execution.
From what i see calling the rollback method reverts it to its original state but if the user closes their browser i have no way of calling the rollback method. Appreciate your help on this thanks.
The reason i'm using transactions is because i don't want updates to take effect until every update has been made. Therefore i'm wondering whether the database changes are committed if the user closes their browser half way through execution.
From what i see calling the rollback method reverts it to its original state but if the user closes their browser i have no way of calling the rollback method. Appreciate your help on this thanks.