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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira