Hi,

the JDO spec allows public final static fields being used in JDOQL. Chapter 14.6.2 says: "Identifiers that are persistent field names or public final static field names are required to be supported by JDO implementations.".

Does this imply I can use the class name as qualifier in the field access, as I would do in Java? This means, are Integer.MAX_VALUE and com.xyz.hr.Department.MAX_DEPARTMENTS valid JDOQL expressions?

I think they are valid JDOQL expressions, what do you think?

Regards Michael
--
Michael Bouschen                [EMAIL PROTECTED] Engineering GmbH
mailto:[EMAIL PROTECTED]        http://www.tech.spree.de/
Tel.:++49/30/235 520-33         Buelowstr. 66                   
Fax.:++49/30/2175 2012          D-10783 Berlin                  

Reply via email to