HIBERNATE JBoss.org
 |  Register  | 
     
News 
About 
   Feature List 
   Road Map 
Documentation 
   Related Projects 
   External Documentation 
Download 
Forum & Mailinglists 
Support & Training 
JIRA Issue Tracking
Wiki Community Area


Hibernate Public Training Courses


Get Hibernate in Action eBook!


JavaWorld 2003 Finalist


Jolt Award 2004 Winner
      
Documentation > Community Area > Distributed Objects With Hibernate > Comments > Re: How to know then that entity has become stale?


Comment
Prev. thread 
 Next thread
 
Prev. posting 
 Next posting
Subject: Re: How to know then that entity has become stale? 13 Dec 2003, 03:18
From: gavin Replies: 1, Views: 624
 
On 12 Dec 2003 20:34, vijpan wrote:

>In case of optimistic concurrency if you dont access the database how
>can you be sure that you are not trying to update the stale data?

Hibernate does a version number or timestamp check in the SQL UPDATE.
This is standard Hibernate functionality.
 

Thread:
 How to know then that entity has become stale? 
 vijpan   12 Dec 2003, 20:34 
 Re: How to know then that entity has become sta... 
 gavin   13 Dec 2003, 03:18 
 Re: How to know then that entity has become ... 
 vijpan   15 Dec 2003, 17:56 
      

coWiki