Docs: Transaction retry guidance for Hibernate

Created on 28 Jan 2019  路  8Comments  路  Source: cockroachdb/docs

All 8 comments

As discussed with @awoods187, @rmloveland, and @timveil, moving this to later, pending further Product work.

See discussion in https://github.com/cockroachdb/cockroach/issues/27274 for some example code

See also: some good information on explaining that the example code is running in SERIALIZABLE mode as well as a blog post on the topic.

@rmloveland, is this out of scope for 19.2 at this point, given that we are de-emphasizing savepoint?

@jseldess I think integrating the SAVEPOINT protocol with Hibernate will be too large / difficult for 19.2.

However I think it's possible that I can update the Hibernate example with an "app-level retry loop" as part of #5035 (probably the last work item for that ticket we can get in for 19.2 before moving on to product work).

+1 @rmloveland We should only deemphasize savpoint with hibernate (but show how to do it via #5035 ) for 19.2

@awoods187 the Java/Hibernate page shows how to write a retry loop. That work would seem to cover "transaction retry guidance for Hibernate". Any objection to closing this?

I'm good @rafiss are we missing anything else here?

This looks fine to close, to me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dankellycockroach picture dankellycockroach  路  3Comments

sploiselle picture sploiselle  路  3Comments

bdarnell picture bdarnell  路  6Comments

yzdocs picture yzdocs  路  6Comments

taroface picture taroface  路  6Comments