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 <[email protected]> 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
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to