[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6285?page=c...
]
Strong Liu commented on HHH-6285:
---------------------------------
actually, this is caused by the Embeddable class, for exampel, we have @Embeddable ItemPk
which has no @Id and no parent class has @Id, then it belongs to its own
ConfiguredClassHierarchy
Exception when the entities has no @Id but just uses @EmbeddId
--------------------------------------------------------------
Key: HHH-6285
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6285
Project: Hibernate Core
Issue Type: Bug
Reporter: Strong Liu
Assignee: Hardy Ferentschik
Fix For: 4.0.0.Beta1
Hardy,
the logic of
org.hibernate.metamodel.source.annotations.entity.ConfiguredClassHierarchy#determineDefaultAccessType
is not correct ...
as subject, if all entities use only @EmbeddId, then this method throws exception.
we need find a better way to determin the default access type
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira