You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Dave Dombrosky (JIRA)" <ji...@apache.org> on 2010/01/27 09:27:34 UTC
[jira] Commented: (CAY-1376) Certain EJBQL queries have mismatched
table aliases
[ https://issues.apache.org/jira/browse/CAY-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805414#action_12805414 ]
Dave Dombrosky commented on CAY-1376:
-------------------------------------
I'm also getting a mismatched table alias when trying to use a flattened relationship in the GROUP BY. I tried fixing it with a patch similar to the first one here, but I could not figure it out. Maybe someone else could take a look at this?
> 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.