-->
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: How can I flush one specific delete ?
PostPosted: Mon Sep 30, 2013 11:19 am 
Newbie

Joined: Mon Sep 30, 2013 10:59 am
Posts: 1
We read in some objects and make some changes. Under certain conditions we delete an object and need to do a flush on just this delete. Then we make some more changes and flush everything. Sometimes when we do the delete and session flush it tries to save/update some of the changes we have already made and we get an exception. When we do the delete we need it to do just the delete and then save/update everything else at the end when we do another flush. Is there a way to force it to flush just the delete?
Thanks


Top
 Profile  
 
 Post subject: Re: How can I flush one specific delete ?
PostPosted: Fri Oct 18, 2013 2:05 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
Quote:
Is there a way to force it to flush just the delete?

No, that's not possible.


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.