-->
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: @version annotations
PostPosted: Tue Sep 30, 2008 3:02 am 
Newbie

Joined: Tue Sep 30, 2008 2:33 am
Posts: 1
Goodmornig,
I wanted to ask, I'm using hibernate 3.2.6. I'm using the @version annotations in my entity.
When i'm using a different transactions for every method (save,update,delete) le version of entity change correctly,
but when i'm using one transaction for all operations, the version is not updated.
How can i updated the version of entity with one transaction ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 01, 2008 6:27 am 
Newbie

Joined: Fri Jul 11, 2008 10:45 am
Posts: 5
You will need to be a lot more specific giving code samples etc.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.