parent « Cascade « JPA Q&A





1. Cascading dirty saves to parents    forum.hibernate.org

I'm trying to implement a model that handles multi-user concurrent changes. To explain what I'm trying to do, I'll use the example of a group entity containing many person entities. 1. User 1 loads the group named "developers". 2. User 2 loads the same group. 3. User 1 adds "developer1" to the group and saves it. 4. User 2 adds "developer2" ...