[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5947) @UniqueConstraint does not take into account properties from @MappedSuperClass when those are @ManyToOne

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Feb 23 04:29:08 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=40060#action_40060 ] 

Emmanuel Bernard commented on HHH-5947:
---------------------------------------

Thanks Manuel, do you mind adding to the pull request a doc improvement.
You're saying that the doc is a bit unclear, let's also improve that :)

> @UniqueConstraint does not take into account properties from @MappedSuperClass when those are @ManyToOne
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-5947
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5947
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: annotations
>    Affects Versions: 3.6.1
>            Reporter: Manuel Bernhardt
>
> Given a @MappedSuperclass with a @ManyToOne relation, this relation cannot be used in a subclass @UniqueConstraint (it is not found).

-- 
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