[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-95) Cannot create a unique constraint on columns belonging to both the superclass and the class

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Mar 2 11:32:32 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-95?page=comments#action_26364 ] 

Emmanuel Bernard commented on ANN-95:
-------------------------------------

Please open a new issue with a working test case. I wasn't able to reproduce the first time.

> Cannot create a unique constraint on columns belonging to both the superclass and the class
> -------------------------------------------------------------------------------------------
>
>          Key: ANN-95
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-95
>      Project: Hibernate Annotations
>         Type: Bug

>   Components: binder
>     Versions: 3.1beta5
>     Reporter: Emmanuel Bernard
>     Assignee: Emmanuel Bernard
>     Priority: Minor
>      Fix For: 3.2.0.cr1

>
>
> http://www.jboss.com/index.html?module=bb&op=viewtopic&t=68664
> @Entity
> @Table(name="award_category_name_l10n", 
>        uniqueConstraints={
>             @UniqueConstraint(columnNames={"award_category_id", "language_id"})
>        }
> )
> public class AwardCategoryNameL10n extends AwardCategoryL10n { .. }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list