-->
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.  [ 3 posts ] 
Author Message
 Post subject: persisting collection example
PostPosted: Tue Nov 22, 2005 7:56 am 
Newbie

Joined: Fri Nov 11, 2005 12:34 pm
Posts: 18
Hi.
I am trying to get simple many(entities)-to-many(entities) working and cannot get it to work.

Are you guys aware of any examples of code to persist these mappings, because I literaly copied the mappings from the docs.

MB


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 22, 2005 7:58 am 
Newbie

Joined: Fri Nov 11, 2005 12:34 pm
Posts: 18
I can never get hibernate to do insert in the mapping table.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 22, 2005 8:08 am 
Newbie

Joined: Fri Nov 11, 2005 12:34 pm
Posts: 18
cascade="all" + I made collection unidirectional and it works.
I'll build it slowley from there.

Sorry to bother you, I sometimes panick.

Regards,
MB


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.