StaleObjectStateException « Version « JPA Q&A





1. StaleObjectStateException in spite of identical versions    forum.hibernate.org

Hello, we are trying to use Hibernate with optimistic concurrency control. Our entities have the "@version" annotation so that hibernate can check if there has been an update from user B during the timespan from when user A has loaded the entity until user A commits his changes. So let's assume that user A loads the entity (with the version 1, ...

2. StaleObjectStateException with Version    forum.hibernate.org

Author Message eldiosyeldiablo Post subject: StaleObjectStateException with Version Posted: Fri May 27, 2005 11:39 am Beginner Joined: Mon Jun 21, 2004 2:41 pm Posts: 40 Hibernate version: 2.1.7c I am getting an error when I try to update a value on my record and do a saveOrUpdate call on it. The problem is that I would sweare that this ...

3. Version check not throwing StaleObjectStateException    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp [b3.0.5[/b] [b]Mapping documents(Fragment): ... ... [/b] Hi, We use modify_timestamp as our managed versioning. We have a scenario in a web application where we do the following steps: (1) Retrieve event with id="1234". (called eventDTO1 which reads its values from ...