Hi,
<entity class="com.adva.yp.api.model.YPParameterImpl"
metadata-complete="true">
  <table name="YP_PARAMETER" schema="yp">
     <unique-constraint>
        <column-name>YP_PARAMETER_TYPE_ID</column-name>
        <column-name>YP_PARAMETER_VALUE_STRING</column-name>
     </unique-constraint>
  </table>

  Should not the unique constraint on Parameter table be on Y_PARAMETER_ID
instead of YP_PARAMETER_TYPE_ID?


-----
Pinaki 
-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/ManyToMany-relations-violating-unique-constraints-tp5002254p5011595.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to