[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5950) Make @UniqueConstraint inheritable
Manuel Bernhardt (JIRA)
noreply at atlassian.com
Tue Feb 22 10:17:05 EST 2011
Make @UniqueConstraint inheritable
----------------------------------
Key: HHH-5950
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5950
Project: Hibernate Core
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.
-
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