[hibernate-dev] one-to-one mapping
Faraz Fallahi
faraz.fallahi at googlemail.com
Tue Apr 26 09:51:11 EDT 2011
hi
im trying to create a simple one-to-one mapping in my hbm files.
For Example:
<one-to-one name="account" class="kbusy.database.model.Account" />
is in the Tutor.hbm.xml
My many to one, one to many and many to many mappings all work, but
one to one doesnt. i would expect him to create me an account id
column in my tutor table, but he does not.
what am i doing wrond?
greez
More information about the hibernate-dev
mailing list