[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5950) Make @UniqueConstraint inheritable
Strong Liu (JIRA)
noreply at atlassian.com
Tue Apr 10 03:15:48 EDT 2012
[ https://hibernate.onjira.com/browse/HHH-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46214#comment-46214 ]
Strong Liu commented on HHH-5950:
---------------------------------
@Emmanuel,
any comments?
the pull request has been there for a while.
> Make @UniqueConstraint inheritable
> ----------------------------------
>
> Key: HHH-5950
> URL: https://hibernate.onjira.com/browse/HHH-5950
> Project: Hibernate ORM
> Issue Type: New Feature
> Components: annotations
> Affects Versions: 3.6.1
> Reporter: Manuel Bernhardt
>
> It would be really nice to be able to define a @UniquenessConstraint in a @MappedSuperclass so that all subclasses carry this constraint. Right now, the following constraint is ignored:
> @MappedSuperclass
> @Table(uniqueConstraints = {@UniqueConstraint(name="inheritedConstraint", columnNames = {"matter", "value"})})
> public class Space { ... }
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list