db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bouschen <mbo.t...@spree.de>
Subject JDOQL and public static final fields
Date Wed, 02 Nov 2005 14:12:52 GMT

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 

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		Tech@Spree Engineering GmbH
mailto:mbo.tech@spree.de	http://www.tech.spree.de/
Tel.:++49/30/235 520-33		Buelowstr. 66			
Fax.:++49/30/2175 2012		D-10783 Berlin			

View raw message