mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
bb95156262
Database transaction can be set to retry failure due to any exception with a cause or a nested cause of SQLException type. Rationale: By the default transaction is retried only for SQLException. It may happen that SQL Exception is wrapped by Hibernate exception, allow to retry such cases if requested e.g. database.transaction(recoverableFailureTolerance = 3, recoverAnyNestedSQLException = true) { .... } |
||
---|---|---|
.. | ||
src | ||
build.gradle |