-->
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: parent child relationship update issue
PostPosted: Fri Jun 05, 2009 10:29 am 
Newbie

Joined: Sat Nov 25, 2006 6:57 am
Posts: 12
Location: india
I am facing some issues with updating the data for a parent child relationship.
I have <one-to-many> relationship, now when i try to remove of the child record and update the parent object it gives me no identifier found exception at the child object.
Here as it is web layer the retrieval is done in one session and update is done in another session.
i have the cascade setting in hbm files as all,delete-orphan.
Here one thing is i don't have id in domain the object of child, could this be a problem. I think hibernate should do this by reference.


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.