Back to Exposed

maxAttempts

docs/api/exposed-r2dbc/org.jetbrains.exposed.v1.r2dbc/-r2dbc-transaction/max-attempts.html

1.2.0595 B
Original Source

maxAttempts

var maxAttempts: Int

The maximum amount of attempts that will be made to perform this transaction block.

If this value is set to 1 and an R2dbcException happens, the exception will be thrown without performing a retry.

Throws

IllegalArgumentException

If the amount of attempts is set to a value less than 1.

Generated by Dokka © 2026 Copyright