-->
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: Collections saveorupdate ---server freezes
PostPosted: Fri Aug 04, 2006 12:42 am 
Newbie

Joined: Fri Aug 04, 2006 12:27 am
Posts: 4
I am using hibernate 3.0.5 and oracle driver 10.0.2.

The problem i am having is i have an object which has a collection(one-many). if the collection has one item then the saveorupdate on the parent works fine but if the collection has more than one item than it goes into the exception block and hibernate starts printing the stack of sql statements which never ends causing the server to hang.

The Parent has the mapping of inverse=true and cascade='all-delete-orphan' and the child has a composite key and it over riides the equals() and hashcode() method.

I have trouble with this from a week and any help would be greatly appreciated.If needed i can post the mappings.


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.