Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
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)