Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-974

Subquery EJBQL returns wrong entity in the result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M3
    • Core Library
    • None

    Description

      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)

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: