[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-7129) Throw exception when metadata attempts to spread @NaturalId across an entity hierarchy
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Feb 29 16:34:48 EST 2012
[ https://hibernate.onjira.com/browse/HHH-7129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole resolved HHH-7129.
---------------------------------
Resolution: Fixed
> Throw exception when metadata attempts to spread @NaturalId across an entity hierarchy
> --------------------------------------------------------------------------------------
>
> Key: HHH-7129
> URL: https://hibernate.onjira.com/browse/HHH-7129
> Project: Hibernate ORM
> Issue Type: Bug
> Components: annotations, core, metamodel
> Affects Versions: 4.1.0
> Reporter: Steve Ebersole
> Assignee: Steve Ebersole
> Labels: naturalId
> Fix For: 4.1.1
>
> Time Spent: 3h 4m
>
> Currently annotations allow definition of @NaturalId across an entity inheritence hierarchy. This is handled correctly in {{hbm.xml}} limiting the {{<natural-id/>}} element to just the root entity def. We should detect this situation during annotation binding and throw an error.
--
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