Issue Type: Bug Bug
Affects Versions: 4.1.4
Assignee: Unassigned
Components: core
Created: 27/Jun/12 2:14 AM
Description:

org.hibernate.tuple.entity.EntityMetamodel#EntityMetamodel only checks if the property is a natural id or not, but it doens't take care of the property type, if the property is a component, then the org.hibernate.tuple.entity.EntityMetamodel#naturalIdPropertyNumbers is wrong, which causes exception be throwen at org.hibernate.event.spi.ResolveNaturalIdEvent#ResolveNaturalIdEvent due to "Entity [%s] defines its natural-id with %d properties but only %d were specified"

Project: Hibernate ORM
Priority: Major Major
Reporter: Strong Liu
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira