You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Victor Antonovich (JIRA)" <ji...@apache.org> on 2011/06/23 13:32:47 UTC

[jira] [Updated] (CAY-1582) EJBQL queries are broken for vertical inheritance entities

     [ https://issues.apache.org/jira/browse/CAY-1582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Victor Antonovich updated CAY-1582:
-----------------------------------

    Attachment: org.apache.cayenne.access.VerticalInheritanceTest.txt
                vertical_inheritance_ejbql_test.patch

Vertical inheritance EQBQLQuery tests patch and failed tests output are attached.

> EJBQL queries are broken for vertical inheritance entities
> ----------------------------------------------------------
>
>                 Key: CAY-1582
>                 URL: https://issues.apache.org/jira/browse/CAY-1582
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.1 (final)
>            Reporter: Victor Antonovich
>         Attachments: org.apache.cayenne.access.VerticalInheritanceTest.txt, vertical_inheritance_ejbql_test.patch
>
>
> EJBQLQuery doesn't pay attention to vertical inheritance attributes, so queries results are different from equivalent SelectQuery results. Some EJBQL queries with flattened attributes involving inherited entities are failing at all due to invalid SQL expression generated.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira