Joined: Tue Mar 08, 2011 3:55 pm Posts: 6
|
I have a one to one relationship between 2 tables:
TABLE_A TABLE_B
Table A has a generated primary key. Table B's primary key is also foreign key to table A.
Table B is optional
I also have Objects:
ObjectA ObjectB
How do I model this in xml file?
Also, Preferably I do not want to store an ID property on ObjectB. The fact that it is a child of ObjectA and that it's database key is same as that of ObjectA should be enough to be able to maintain the key field.
Is this possible to configure?
thanks in advance
|
|