JPA-NestedSet icon indicating copy to clipboard operation
JPA-NestedSet copied to clipboard

Use pessimistic locking to prevent tree corruption

Open romanb opened this issue 15 years ago • 1 comments

Pessimistic locking support of JPA 2 should be used to prevent tree corruption in concurrent scenarios. A lock on the root node of the tree being modified may be enough.

romanb avatar Mar 22 '10 13:03 romanb

I've started some work on this in BlackLocus' Pessimistic-Locking branch, but I've only added it for the node-manipulation functions I'm using for our project at the moment. It might be a good starting point or a dead end.

JustinTArthur avatar Aug 21 '12 20:08 JustinTArthur