hey,<br><br>I&#39;d like to setup a multi-column unique constraint, which
i&#39;d normally be able to do with the unique-key attribute in a column
element:<br><br>&nbsp;&nbsp;&nbsp; &lt;property name=&quot;FirstName&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;column name=&quot;FirstName&quot; unique-key=&quot;PersonFirstLastName<div>&quot;/&gt;
<br>&nbsp;&nbsp;&nbsp; &lt;/property&gt;<br>&nbsp;&nbsp;&nbsp; &lt;property name=&quot;LastName&quot; &gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;column name=&quot;LastName&quot; unique-key=&quot;PersonFirstLastName&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/property&gt;<br><br><br>but if I want to have a many-to-one element, unique-key is not listed as one of the available attributes.
<br><br>&nbsp;&nbsp;&nbsp; &lt;property name=&quot;IsLeadDeveloper&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;column name=&quot;IsLeadDeveloper&quot; unique-key=&quot;GroupLeadDeveloper&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/property&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;property name=&quot;Group&quot; &gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;many-to-one name=&quot;GroupID&quot; unique-key=&quot;GroupLeadDeveloper&quot;/&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/property&gt;<br><br>I&#39;m
working with CastleProject/ActiveRecord, and submitted a JIRA issue to
the project, but they suggested that Hibernate does not support this
and that I should post a JIRA issue here.&nbsp; Just want to verify that I&#39;m
not taking the wrong approach before I post it to JIRA.
<br><br>thx,<br><span>foltz<br></span></div>