I never stated whether it was valid per JDO spec. I just stated that Matthew was incorrect and his explanation of why the syntax was incorrect was also incorrect. This is an app engine forum so it was implied that the incorrectness pertained to app engine. If you wish to point out differences between the JDO spec and app engine please send that to Google. I didn't write app engine.
On Sat, Jan 8, 2011 at 4:31 AM, datanucleus <andy_jeffer...@yahoo.com>wrote: > > That is incorrect. You can specify a filter using the == with a single > value > > and a list or set such as > > You mean AppEngine allows you to; this doesn't mean it is correct to > do that. JDOQL prohibits it (see the spec). JDOQL follows Java, and > the syntax Matthew gave is the valid one, not this. If you want your > query to work reliably with any future version you ought to use > Collection.contains() syntax. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.