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

Andrus Adamchik closed CAY-974.
-------------------------------

    Resolution: Fixed

> Subquery EJBQL returns wrong entity in the result
> -------------------------------------------------
>
>                 Key: CAY-974
>                 URL: https://issues.apache.org/cayenne/browse/CAY-974
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Cayenne Core Library
>    Affects Versions: 3.0
>            Reporter: Andrus Adamchik
>            Assignee: Andrus Adamchik
>             Fix For: 3.0
>
>
> EJBQL like the following attempts to instantiate Painting instead of Artist:
>  SELECT a FROM Artist a WHERE EXISTS (SELECT DISTINCT p1 FROM Painting p1 
> WHERE p1.toArtist = a)

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

Reply via email to