-->
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: hibernate transaction could be usefull with object rollback!
PostPosted: Tue Jul 27, 2004 5:58 pm 
Beginner
Beginner

Joined: Wed Sep 24, 2003 8:27 am
Posts: 36
Team,

Hibernate transaction could use object level rollback.

I mean as far as i can see it would be easy to add to the framework.

At session.transaction hibernate could know and set somewhere that now any saves or updates could be rolled back, and also set the con.setautocomit(false).

Then at session.rollback hibernate could do a session.connection.rollback which will make sure that any inserts or updates due to a call to session.flsuh are rolledback, and also clear the objects waiting for session.flush.

I do not mind doing some code changes to 2.1.4 for this, testing the same and then sending them to the framework team to look at.

Regards
Suchak Jani


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 27, 2004 11:37 pm 
Senior
Senior

Joined: Tue Nov 25, 2003 9:35 am
Posts: 194
Location: San Francisco
See http://forum.hibernate.org/viewtopic.php?t=932970

There is no need for this functionality.


Sherman


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.