cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Dombrosky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-1376) Certain EJBQL queries have mismatched table aliases
Date Wed, 27 Jan 2010 19:37:34 GMT

    [ https://issues.apache.org/jira/browse/CAY-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805622#action_12805622
] 

Dave Dombrosky commented on CAY-1376:
-------------------------------------

Ksenia, the query you posted should be able to cause the error, as long as the FLATTENED_TEST_3
and FLATTENED_TEST_1 tables are in different schemas.

> Certain EJBQL queries have mismatched table aliases
> ---------------------------------------------------
>
>                 Key: CAY-1376
>                 URL: https://issues.apache.org/jira/browse/CAY-1376
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.0RC2
>            Reporter: Dave Dombrosky
>         Attachments: ejbqlGroupBy.patch
>
>
> On some EJBQL queries, the wrong table aliases are being use to refer to columns.  A
similar issue was solved earlier in CAY-1114.  This problem seems to occur when EJBQLTranslationContext.getTableAlias()
is called on relationships that span database schemas.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message