[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6896) Metamodel.managedType(...) implemented incorrectly

Oliver Gierke (JIRA) noreply at atlassian.com
Wed Dec 14 16:40:22 EST 2011


Metamodel.managedType(...) implemented incorrectly
--------------------------------------------------

                 Key: HHH-6896
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6896
             Project: Hibernate Core
          Issue Type: Bug
          Components: entity-manager
    Affects Versions: 3.6.8
            Reporter: Oliver Gierke


Section 5.1.1 of the JPA specification defines {{Metamodel.managedType(...)}} as follows:

{quote}
Return the metamodel managed type representing the entity, mapped superclass, or embeddable class.
{quote}

Nevertheless the {{MetamodelImpl}} only considers entities, which clearly violates the spec.

--
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