fun transaction(maxRetries: Int = 0, body: () -> Unit): Unit
Execute the code body within a JDBC transaction. The transaction is committed when the code body completes. Set maxRetries to attempt the code body multiple times, if an exception is thrown in body or while committing.