Entity A references a single instance of Entity B.
Entity B references a collection of Entity A.
Entity A must be the owner of the relationship.
The following mapping defaults apply:
Entity A is mapped to a table named A.
Entity B is mapped to a table named B.
Table A contains a foreign key to table B. The foreign key column name is formed as the concatenation of the following: the name of the relationship property or field of entity A; "_"; the name of the primary key column in table B. The foreign key column has the same type as the primary key of table B.
There are 10 kinds of people in this world. Those that understand binary get this tiny ad:
how do I do my own kindle-like thing - without amazon