[hibernate-dev] one-to-one mapping
Emmanuel Bernard
emmanuel at hibernate.org
Tue Apr 26 12:01:28 EDT 2011
Please use the user forum http://forum.hibernate.org
This mailing list is about theHibernate projects developments.
On 26 avr. 2011, at 15:51, Faraz Fallahi wrote:
> 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
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
More information about the hibernate-dev
mailing list