You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2018/07/24 08:57:00 UTC
[jira] [Updated] (CAY-2389) DbEntity qualifier with DbPath
expression translates into wrong SQL
[ https://issues.apache.org/jira/browse/CAY-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev updated CAY-2389:
---------------------------------
Fix Version/s: (was: 3.1.2)
3.1.3
> DbEntity qualifier with DbPath expression translates into wrong SQL
> -------------------------------------------------------------------
>
> Key: CAY-2389
> URL: https://issues.apache.org/jira/browse/CAY-2389
> Project: Cayenne
> Issue Type: Bug
> Affects Versions: 3.1.1, 4.0.B2, 4.1.M1
> Reporter: Nikita Timofeev
> Assignee: Nikita Timofeev
> Priority: Minor
> Fix For: 3.1.3, 4.0.RC1, 4.1.M2
>
>
> When qualifier with {{DbPath}} expression attached to {{DbEntity}} (e.g. programmatically set {{ExpressionFactory.matchDbExpression()}} qualifier) used in JOIN clause, it generates wrong SQL.
> For example: {{JOIN GROUP t2 ON (t1.GROUPID = t2.GROUPID AND t0.DELETED = 0)}}
> Note {{t0}} alias used with DELETED field, {{t2}} should be used instead.
> Everything works fine if {{ObjPath}} used in qualifier.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)