-->
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: Flush during cascade is Dangerous Exception in Hibernate
PostPosted: Thu May 08, 2008 11:18 am 
Newbie

Joined: Fri Dec 28, 2007 7:38 am
Posts: 16
Dear Gurus,

i am use Jboss seam and Ejb 3.0 in my project.
and i use the Hibernate for seach.
i am new to hibernate.

when i access my project page , It is raising "Flush during cascade is Dangerous" Exception .

When only single user is accessing it is working fine. But when one more than one user is trying to access the System it is rasing the specified exception.

i alway get this advice from net for this Exception
"you forgot to remove a deleted instance from an association with cascading save enabled. You should remove deleted objects from associations before flushing the session."

how to fo that , is there any anotation for remove deleted objects from associations.

Can any one please give a helping hand for solving this?


Thanks in advance,
thiagu.m


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.