-->
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: Rolling Back POJOs...
PostPosted: Tue May 23, 2006 8:00 pm 
Beginner
Beginner

Joined: Tue Jun 07, 2005 8:24 am
Posts: 33
Location: Cincinnati, OH
I need to be able to rollback the changes (generated ids and versions) that hibernate makes to my POJOs after a hibernate transaction rollback. I don't want my POJOs to be out of synch with the database if the transaction rolls back. Has anyone ever attempted this before? I am trying to do it with an interceptor, but I thought I'd ask you folks first since you're the experts and maybe there's a better way.

Thanks,

James

Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
3.1.2


Top
 Profile  
 
 Post subject: Re: Rolling Back POJOs...
PostPosted: Tue May 23, 2006 11:37 pm 
Beginner
Beginner

Joined: Tue Jun 07, 2005 8:24 am
Posts: 33
Location: Cincinnati, OH
FYI:
I've got a version working using interceptors.


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.