The datastore doesn't provide LIKE queries. One thing you can do is tokenize
the String, store each token as part of a List property, then check against
the List property - but this doesn't solve your case of substring search.
On Thu, Jun 10, 2010 at 6:35 AM, RAVINDER MAAN rsmaan...@gmail.com wrote:
Hello all
how we can we implement SQL like operator in java JDO query. how
can I write this query in JDO
select * from employee where name like '%james%';
Employee is entity with property name.
--
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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine
--
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.