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
Fix For: 4.1.1
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