cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2031) Fetching distinct related objects in EJBQL throws an exception
Date Thu, 29 Mar 2018 08:26:00 GMT

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

Nikita Timofeev closed CAY-2031.
--------------------------------
       Resolution: Fixed
         Assignee: Nikita Timofeev
    Fix Version/s: 4.0.B2

Fixed as part of CAY-2356 and CAY-2366

> Fetching distinct related objects in EJBQL throws an exception
> --------------------------------------------------------------
>
>                 Key: CAY-2031
>                 URL: https://issues.apache.org/jira/browse/CAY-2031
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 4.0.M2
>         Environment: Java 1.8.0_45 running on OS X
>            Reporter: Hugi Thordarson
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.0.B2
>
>
> Retrieving a list of distinct related objects in EJBQL using the following syntax fails:
> "select distinct receipt.shop from Receipt receipt”
> Stack trace:
> https://gist.github.com/hugith/c3f48c4576e6a55383b3
> Same query works fine without the "distinct" keyword.
> Same query works fine if you specify an attribute on "shop" (not just the related object).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message