A class encapsulating an entire transaction from beginning to commitment.
This encapsulates a routine to conduct for the transaction.
Should the transaction fail due to a deadlock, the transaction will automatically
be tried.
NOTE: It is unsafe to run two transactions on the same connection concurrently.
The execution must be waited to complete before executing another transaction,
on the same connection.
A class encapsulating an entire transaction from beginning to commitment.
This encapsulates a routine to conduct for the transaction. Should the transaction fail due to a deadlock, the transaction will automatically be tried.
NOTE: It is unsafe to run two transactions on the same connection concurrently. The execution must be waited to complete before executing another transaction, on the same connection.