-->
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: Saving a Parent Mapping
PostPosted: Sat Oct 30, 2010 7:49 pm 
Newbie

Joined: Sat Oct 30, 2010 7:44 pm
Posts: 1
I am sure this has been asked before, haven't easily been able to find it but I have a parent with a list of entites. Say a user with a collection of cost objects, I am trying to save the user which has a mapped by on the collection, using the HibernateTemplate save from Spring. The User entity saves fine but I can't get its children to save. Any ideas?

Thanks,

Jason


Top
 Profile  
 
 Post subject: Re: Saving a Parent Mapping
PostPosted: Mon Nov 01, 2010 9:47 am 
Senior
Senior

Joined: Fri Oct 08, 2010 8:44 am
Posts: 130
1. Just use cascade mapping.
2. Spring is obsolete :)


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.