[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5044) Having @MappedSuperClass inbetween an abstract-class with InheritanceType.JOINED and an Entity fails

Andreas Joseph Krogh (JIRA) noreply at atlassian.com
Fri Mar 26 17:05:31 EDT 2010


Having @MappedSuperClass inbetween an abstract-class with InheritanceType.JOINED and an Entity fails
----------------------------------------------------------------------------------------------------

                 Key: HHH-5044
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5044
             Project: Hibernate Core
          Issue Type: Bug
    Affects Versions: 3.5.0-CR-2
         Environment: JDK-1.6 SE, Spring-3.0.1
            Reporter: Andreas Joseph Krogh
         Attachments: jpa2failure-java-working.jar, jpa2failure-java.jar

Hi. Attached are 2 small testcases (in Maven2) which contain one case showing the failure and one working case. The working case has removed the inbetween @MappedSuperClass.

What fails is retrieving an entity using the generic "origoEntityRepository", which returns arbitrary entities extending the AbstractEntityObject.

This works fine in Hibernate-3.3.2/JPA1 btw.

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