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:01:06 EST