[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4834) Exception in the metamodel population when raw types are used in collections
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Fri Jan 22 14:17:31 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35314#action_35314 ]
Emmanuel Bernard commented on HHH-4834:
---------------------------------------
The original exception is
java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
at org.hibernate.ejb.metamodel.AttributeFactory.getSignatureType(AttributeFactory.java:850)
at org.hibernate.ejb.metamodel.AttributeFactory$PluralAttributeMetadataImpl.<init>(AttributeFactory.java:735)
at org.hibernate.ejb.metamodel.AttributeFactory$PluralAttributeMetadataImpl.<init>(AttributeFactory.java:712)
at org.hibernate.ejb.metamodel.AttributeFactory.determineAttributeMetadata(AttributeFactory.java:507)
at org.hibernate.ejb.metamodel.AttributeFactory.buildAttribute(AttributeFactory.java:84)
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:769)
at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:746)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:94)
at org.hibernate.ejb.test.TestCase.setUp(TestCase.java:62)
at org.hibernate.ejb.test.TestCase.runBare(TestCase.java:181)
at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:108)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:60)
> Exception in the metamodel population when raw types are used in collections
> ----------------------------------------------------------------------------
>
> Key: HHH-4834
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4834
> Project: Hibernate Core
> Issue Type: Bug
> Components: entity-manager
> Affects Versions: 3.5.0-Beta-3
> Reporter: Emmanuel Bernard
> Assignee: Emmanuel Bernard
> Fix For: 3.5.0-Beta-4
>
>
--
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