| Author |
Unidirection Association
|
Bhavik Patel
Ranch Hand
Joined: Jul 12, 2004
Posts: 155
|
|
I am new to hibernate and wanted to know how do i represent one to many association in mapping file if i just want it to be unidirectional. if i represent < one-to-many > element in one class and <many-one> in other class then does it mean it's representing Bi directional Association ??
|
SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "
|
 |
Jignesh Patel
Ranch Hand
Joined: Nov 03, 2001
Posts: 625
|
|
No, In your class wheen you define one-many there you mentioned inverse=true. It makes bidirectional relationship.
|
 |
 |
|
|
subject: Unidirection Association
|
|
|