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

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Tue Jan 22 2008 - 17:18:32 EST

  • Next message: Tore Halset (JIRA): "[JIRA] Commented: (CAY-966) ObjRelationsship's are not removed processing DropColumnToModel"

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



    This archive was generated by hypermail 2.0.0 : Tue Jan 22 2008 - 17:19:03 EST