[hibernate-dev] unique-key attribute for many-to-one elements

Christian Bauer christian at hibernate.org
Fri Feb 23 08:30:24 EST 2007


On Feb 23, 2007, at 2:26 PM, Michael Foltz wrote:

>     <property name="Group" >
>       <many-to-one name="GroupID" unique-key="GroupLeadDeveloper"/>
>     </property>

<property name="Group">
   <many-to-one name="GroupID">
     <column name="GROUP_ID" unique-key="GroupLeadDeveloper"/>
   </many-to-one>
</property>

Go to http://forum.hibernate.org/ for usage questions.





More information about the hibernate-dev mailing list