-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crdb_internal.force_retry example is out of date #8
Comments
Hi @MariuszCwikla thanks for filing this issue. I've also filed an issue in our internal Jira to make sure this gets prioritized and looked at by the Docs team I was able to reproduce as follows (with
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was trying test transaction retry as per https://www.cockroachlabs.com/docs/v22.2/build-a-java-app-with-cockroachdb-hibernate?filters=local but it looks like the example is not working any more.
I am changing the flag
private static final boolean FORCE_RETRY = true;
and running./gradlew run
:Looks like changing
in
runTransaction
to:and in
JDBCException
toPersistenceException
in another method seem to fix the problem.The text was updated successfully, but these errors were encountered: