[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4805) JPA 2 metamodel impl ignores nested generics: move to the XReflectionManager layer
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Fri Jan 15 05:54:30 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35238#action_35238 ]
Emmanuel Bernard commented on HHH-4805:
---------------------------------------
java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.Class
at org.hibernate.ejb.metamodel.AttributeFactory$PluralAttributeMetadataImpl.<init>(AttributeFactory.java:736)
at org.hibernate.ejb.metamodel.AttributeFactory$PluralAttributeMetadataImpl.<init>(AttributeFactory.java:711)
at org.hibernate.ejb.metamodel.AttributeFactory.determineAttributeMetadata(AttributeFactory.java:506)
at org.hibernate.ejb.metamodel.AttributeFactory.buildAttribute(AttributeFactory.java:83)
at org.hibernate.ejb.metamodel.AttributeFactory.getMetaModelType(AttributeFactory.java:213)
at org.hibernate.ejb.metamodel.AttributeFactory.buildAttribute(AttributeFactory.java:92)
at org.hibernate.ejb.metamodel.MetadataContext.wrapUp(MetadataContext.java:177)
at org.hibernate.ejb.metamodel.MetamodelImpl.buildMetamodel(MetamodelImpl.java:66)
at org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:79)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:752)
at org.hibernate.envers.test.AbstractEntityTest.init(AbstractEntityTest.java:94)
at org.hibernate.envers.test.AbstractEntityTest.init(AbstractEntityTest.java:82)
> JPA 2 metamodel impl ignores nested generics: move to the XReflectionManager layer
> ----------------------------------------------------------------------------------
>
> Key: HHH-4805
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4805
> Project: Hibernate Core
> Issue Type: Bug
> Components: entity-manager
> Affects Versions: 3.5.0-Beta-3
> Reporter: Emmanuel Bernard
> Assignee: Emmanuel Bernard
>
> Envers' VersionsJoinTableRangeComponentNamingTest shows the problem.
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list