I have changed to query.setFilter("tags.contains('" + aTagValue + "')"); and it still works!
It took me a while to get into this concept, that although it's a filter clause it's written in java object style and not SQL style, I mean: NOT tags contains tagParam BUT tags.contains(tagParam) as you wrote Thanks On Jan 4, 12:58 pm, datanucleus <andy_jeffer...@yahoo.com> wrote: > > I have tried the simplest approach and it works: > > query.setFilter("tags == '" + aTagValue + "' "); > > It may work, but is actually invalid JDOQL and you should always use > valid JDOQL syntax like > tags.contains(tagParam) > and your current query would fail in future releases.
-- 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.