You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2008/01/22 23:18:32 UTC

[JIRA] Closed: (CAY-974) Subquery EJBQL returns wrong entity in the result

     [ 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.