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

Gail Badner (JIRA) noreply at atlassian.com
Tue Apr 20 02:03:29 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-5044.
------------------------------

      Assignee: Gail Badner
    Resolution: Duplicate

> 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
>            Assignee: Gail Badner
>         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