[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5975) javax.persistence.metamodel.Metamodel.managedType(Class<X> cls) does not accept embeddable classes
Jaroslaw Lewandowski (JIRA)
noreply at atlassian.com
Thu Mar 3 11:32:08 EST 2011
javax.persistence.metamodel.Metamodel.managedType(Class<X> cls) does not accept embeddable classes
--------------------------------------------------------------------------------------------------
Key: HHH-5975
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5975
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.6.0
Reporter: Jaroslaw Lewandowski
Passing class annotated by @Embedable javax.persistence.metamodel.Metamodel.managedType(Class<X> cls) is causing IllegalArgumentException to be thrown. Regarding to the spec it suppose to:
"Return the metamodel managed type representing the entity, mapped superclass, or embeddable class."
What's interesting Metamodel.managedTypes() returns such classes.
--
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