| Author |
a complex one-to-one problem
|
Dekel Yaacov
Greenhorn
Joined: Nov 03, 2008
Posts: 3
|
|
Hi All, I'm having a problem defining one-to-one. I have 4 objects: 1.Manager 2. Employee 3. Customer 4. Address Each of the objects 1-3 has a column called Address_Id and it supposed to load (or create new) the address from the ADDRESS table. How do I specify in my mapping files that the column Address_Id is actually the pk called Id in the Address class/table? many thanks D
|
 |
Chandra Bhatt
Ranch Hand
Joined: Feb 28, 2007
Posts: 1707
|
|
Hopefully it works for you!
|
cmbhatt
|
 |
 |
|
|
subject: a complex one-to-one problem
|
|
|