| Author |
Use of set tag in Hibernate mapping file?
|
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8457
|
|
Guys, What exactly happens when we have a <set> tag and a link table when the relationship is many to many? I'm a little bit confused over it. Please help!
|
SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8457
|
|
|
Any help guys?
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Not sure what you mean. Are you confuesed how it define many-to-many associations? Or are you asking something else?
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8457
|
|
|
Yes Paul, I'm confused on how to define many-to-many relations...
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
The best place to find this out is the Hibernate documentation's chapter on associtaions. From those docs, a unidirectional many-to-many association:
|
 |
Joe Harry
Ranch Hand
Joined: Sep 26, 2006
Posts: 8457
|
|
|
I'll try to go through it and if I feel still not clear, I will come back here and ask you guys. Thanks!
|
 |
 |
|
|
subject: Use of set tag in Hibernate mapping file?
|
|
|