db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@jpox.org
Subject Re: JDOQL super keyword
Date Sun, 08 Jan 2006 16:00:08 GMT
Craig,

In JDOQL BNF, it's not a valid field accessor. The same for ClassName.super

Current
-------
FieldAccess:
FieldName
Primary . FieldName

Regards,

Erik Bengtson

Quoting Craig L Russell <Craig.Russell@Sun.COM>:

> Hi Erik,
>
> It is not in the spec because it's already a Java keyword. Please see
> 14.4:
>
> Keywords
> Keywords must not be used as package names, class names, parameter
> names, or variable names in queries. Keywords are permitted as field
> names only if they are on the right side of the “.” in field access
> expressions as defined in the Java Language Specification second
> edition, section 15.11. Keywords include the Java language keywords
> and the JDOQL keywords. Java keywords are as defined in the Java
> language specification section 3.9, plus the boolean literals true
> and false, and the null literal. JDOQL keywords maybe written in all
> lower case or all upper case.
>
> What specifically are you interested in knowing?
>
> Regards,
>
> Craig
>
> On Jan 7, 2006, at 3:57 PM, erik@jpox.org wrote:
>
> > Hi,
> >
> > Is it intentionally not in the spec?
> >
> > Regards,
> >
> > Erik Bengtson
>
> Craig Russell
> Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
> 408 276-5638 mailto:Craig.Russell@sun.com
> P.S. A good JDO? O, Gasp!
>
>




Mime
View raw message