This content has been marked as final.
Show 1 reply
-
1. Re: ejb-ql: using non-standard class types as parameter
dsundstrom Aug 6, 2002 1:50 PM (in response to gzhong)I can't really say without seeing the abstract schema, but I would guees something like this would work.
SELECT OBJECT(f)
FROM Folder f
WHERE f.user=?1 AND f.parent IS NULL
or something like this
SELECT OBJECT(f)
FROM Folder f
WHERE f.user=?1 AND f.parent.id = -1