cayenne-commits mailing list archives

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

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

Ksenia Khailenko commented on CAY-1376:
---------------------------------------

Could you post the full query in the case when you use a flattened relationship? 

The query like 
"SELECT COUNT(ft3), ft3.toFT1 FROM FlattenedTest3 ft3  GROUP BY ft3.toFT1" 
passes successfully on objects from test/resources/dml/access.DataContextEJBQLFlattenedRelationshipsTest.xml

> 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