-->
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.  [ 4 posts ] 
Author Message
 Post subject: advice on sets/lists and inverse mappings
PostPosted: Tue Sep 06, 2005 6:33 am 
Beginner
Beginner

Joined: Thu Jun 23, 2005 11:23 am
Posts: 36
Location: Lancashire, England
Hallo -- I was wondering if I could ask anyone's advice on the best way to handle sets/lists & inverse mappings?
Namely -- where would you instantiate a Set in a mapped object?
In the no parameters constructor?
Also, I have been using the Java 5 generic Collections -- should this cause any problems?
Finally, is there any sort of best practice regarding which side of a mapping should be inverse? (I mean for 1:1, 1:N, M:N)
& thankyou for any & all replies.
Cheers,
doug.

_________________
Common sense is what tells you the world is flat.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 06, 2005 5:04 pm 
Beginner
Beginner

Joined: Fri Oct 15, 2004 9:58 pm
Posts: 25
Read this, http://www.hibernate.org/193.html. it might help


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 4:15 am 
Beginner
Beginner

Joined: Thu Jun 23, 2005 11:23 am
Posts: 36
Location: Lancashire, England
Sorry -- that seems to be a dead link!
doug.

_________________
Common sense is what tells you the world is flat.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 07, 2005 5:13 am 
Pro
Pro

Joined: Fri Sep 02, 2005 4:21 am
Posts: 206
Location: Vienna
Hi,

The link would be OK, but for the silly final ".". Just copy/paste and remove the final "."

Or use this link: http://www.hibernate.org/193.html :-)

Erik


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