cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Antonovich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1582) EJBQL queries are broken for vertical inheritance entities
Date Mon, 04 Jul 2011 09:46:21 GMT

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

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

    Attachment: vertical_inheritance_ejbql_fix_2.patch
                vertical_inheritance_ejbql_test_2.patch

Added better patch with additional fix in EJBQLConditionTranslator and testcase for it.

> 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_fix.patch,
vertical_inheritance_ejbql_fix_2.patch, vertical_inheritance_ejbql_test.patch, vertical_inheritance_ejbql_test_2.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

        

Mime
View raw message