maxAttempts
The maximum amount of attempts that will be made to perform this transaction
block.
If this value is set to 1 and an SQLException happens, the exception will be thrown without performing a retry.
Throws
If the amount of attempts is set to a value less than 1.