The current API is broken since any exception thrown in a "try with resources" block will commit the transaction which is not correct. Also, without a "try with resources" block there is no way for the user to abort the transaction or join with parent transaction.
The current API is broken since any exception thrown in a "try with resources" block will commit the transaction which is not correct. Also, without a "try with resources" block there is no way for the user to abort the transaction or join with parent transaction.