-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Tracking row deletions
PostPosted: Wed Jul 18, 2007 7:29 am 
Newbie

Joined: Wed Jul 18, 2007 7:22 am
Posts: 1
Hi,

I'm using hibernate to read rows from a certain table. Another application
can delete rows from the same table. Is there any way of finding the deleted rows without checking if all the previous rows that I read from the table are still there?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 7:57 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
hi igald,

Hibernate has optimistic locking by version and timestamp. If you want to update or modify any dirty read persistent entity it would give exception. Might be this would be some helpful for you.


No Idea on way of finding the deleted rows

_________________
Dharmendra Pandey


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.