Closed GoogleCodeExporter closed 8 years ago
Workaround to this example is remove alias so the query is just "SELECT FROM
User
where username == :username", but this might not be able to be done for more
complex
queries.
Original comment by portfami...@gmail.com
on 8 Jan 2010 at 12:08
The "workaround" is not a workaround; your input query is basically wrong and
not
correct JDOQL. You cannot define an alias on the candidate. The alias is "this"
as
per Java, which is the whole point of JDOQL. Please familiarise yourself via
the JDO spec
Original comment by googleco...@yahoo.co.uk
on 8 Jan 2010 at 4:23
Thanks Andy, I didn't realise you could only use aliases in subqueries. What
threw me
was this was working on version 1.0.3 and only started failing after an upgrade
to
1.0.4.1.
Please close this defect.
Original comment by portfami...@gmail.com
on 9 Jan 2010 at 1:12
Original comment by max.r...@gmail.com
on 9 Jan 2010 at 1:14
Original issue reported on code.google.com by
portfami...@gmail.com
on 8 Jan 2010 at 12:06