openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2066) Edge case in openJPA-1227. openJPA fails to create a join and thus returns wrong data when a collection is selected from superclass and another field is selected from subclass twoor more levels down the hierarchy.
Date Sat, 05 Nov 2011 17:28:51 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144756#comment-13144756
] 

Rick Curtis commented on OPENJPA-2066:
--------------------------------------

Ravi -

If you are complete with this JIRA, please mark it as resolved.

Thanks,
Rick
                
> Edge case in openJPA-1227. openJPA fails to create a join and thus returns wrong data
when a collection is selected from superclass and another field is selected from subclass
twoor more levels down the hierarchy.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-2066
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2066
>             Project: OpenJPA
>          Issue Type: Bug
>    Affects Versions: 1.1.1, 2.1.1, 2.2.0
>            Reporter: Ravi P Palacherla
>            Assignee: Ravi P Palacherla
>            Priority: Minor
>             Fix For: 1.1.1, 2.2.0
>
>         Attachments: OPENJPA2066_11x.diff, OPENJPA2066_trunk.diff
>
>
> openJPA-1227 fixes the wrong SQL generation error when superclass contains an eager to-many
field, and this is the only field selected in the superclass, and when one or more fields
are selected in the subclass, openjpa fails to create a join between the subclass and superclass.
But the issue still remains when one or more fields are selected from subclasses two levels
down the hierarchy.
> Example:
> GrandChildClass extends ChildChildClass extends ChildClass extends ParentClass.
> When I select a filed from GrandChildClass and a to-many field from ParentClass then
openjpa fails to create a join between the classes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message