The transaction doc says
Note that these types of transaction retries do not occur for transactions executing with the snapshot isolation level.
As per the doc then will the transaction flow in
SNAPSHOT_ISOLATION look like below -
BEGIN <transaction statement> COMMIT
If yes then what all error cases can come up in the above flow? What if there is an exception while doing commit?
Can someone provide me a simple example of java transaction with SNAPSHOT_ISOLATION ?