db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Clarification needed on class names in query filters
Date Mon, 26 Dec 2005 21:02:32 GMT

The section in 14.6.5 is incomplete. It doesn't address names that  
are class names, as in Integer.MAX_VALUE. According to the following,  
Integer will be treated as an implicitly defined variable name. :-(

Names in the filter are treated as parameters if they are explicitly  
declared via declareParameters or if they begin with “:”. A14.6.5-4  
[Names are treated as variable names if they are explicitly declared  
via declareVariables. Otherwise, names are treated as field names if  
they are members of the candidate class. Finally, names are treated  
as implicitly defined variable names.]

Any suggestions for improvement?



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!

View raw message