persistence@glassfish.java.net

Re: EJBQL: support for fields with a name of a reserved identifier

From: Tom Ware <tom.ware_at_oracle.com>
Date: Fri, 17 Feb 2006 11:38:08 -0500

Hi Michael,

  Changes look good.

  I am starting to think we should be adding regression tests to the
entity-persistence-tests suites as we fix these bugs. What do you think?

-Tom

Michael Bouschen wrote:

>Hi Tom,
>
>please have a look at the attached changes of EJBQLParser.g. It allows
>to access a field having the same name as an EJBQL keyword, e.g
> ... WHERE e.from = :country
>
>The corresponding glassfish issue is:
>https://glassfish.dev.java.net/issues/show_bug.cgi?id=270
>
>Thanks!
>
>Regards Michael
>
>

-- 
Tom Ware
Principal Software Engineer
Oracle Canada Inc.
Direct: (613) 783-4598
Email: tom.ware_at_oracle.com