-->
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: multiplicity of unidirectional association
PostPosted: Sun Apr 15, 2007 7:21 pm 
Newbie

Joined: Sun Apr 15, 2007 7:11 pm
Posts: 4
Hi,

Someone please explain me this -

From chapter 1 page 17..
It isn’t possible to determine the multiplicity of a unidirectional association by looking only at the Java classes.

Then the author says ....

Java associations can have many-to-many multiplicity.
For example, the classes could look like this:

public class User {
private Set billingDetails;
...
}
public class BillingDetails {
private Set users;
...
}

Does the second sentence explains what the first sentence has to say, if yes...how?

Or simply put...why the author says what he says in the first sentence

Thanks,

Ammar


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 16, 2007 3:49 am 
Expert
Expert

Joined: Tue Dec 28, 2004 7:02 am
Posts: 573
Location: Toulouse, France
I guess you're speaking about the Java Persistence with Hibernate book? If so, you should crawl the archive in the specific forum here (there's one dedicated to the hibernate books) before posting directly into this one.

_________________
Baptiste
PS : please don't forget to give credits below if you found this answer useful :)


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.