[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6951) JPA IdentifiableType.geIdType() does not return annotated @IdClass type
Oliver Gierke (JIRA)
noreply at atlassian.com
Mon Jan 9 10:25:09 EST 2012
JPA IdentifiableType.geIdType() does not return annotated @IdClass type
-----------------------------------------------------------------------
Key: HHH-6951
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6951
Project: Hibernate Core
Issue Type: Bug
Components: metamodel
Affects Versions: 3.6.9, 4.0.0.Final
Reporter: Oliver Gierke
{{AbstractIdentifiableType}} only returns an id type for {{getIdType()}} if the id is a simple one, which means it's a single {{@Id}} or {{@EmbeddableId}} annotated attribute. If you use {{@IdClass}} with an entity, the according metadata object throws an exception. It should return the value of the {{@IdClass}} annotation instead.
--
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