-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate optimistic locking and one-row-per-version legacy
PostPosted: Wed Apr 27, 2011 9:40 am 
Newbie

Joined: Wed Apr 27, 2011 9:34 am
Posts: 1
Hi,
I am trying to use Hibernate with oprtimistic locking against a db2 database that is being populated by rpg.
The rpg program creates a new row for each version and the rows contain a flag to specify which version is the active version. Hibernate's versioning updates one row with new values and increments the version number of this one row. How do I get it to work with the one-row-per-version-multiple-rows-per-entity scenario as opposed to the one-row-per-entity scenario?
Kind Regards
Peter


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

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.