Hi anurag,

One of the design constraints with Bigtable is that there can only be
inequality filters on a single property. That is why id>x works, but there
is an error when you add name>y. In some cases, the recommended approach is
to create a special property at write to for the purpose of allowing an
inequality scan. You might also ask on the discussion group for App Engine's
Java runtime as the authors of the JDO and JPA support for App Engine tend
to frequent that list.

http://groups.google.com/group/google-appengine-java

Happy coding,

Jeff

On Wed, Sep 23, 2009 at 11:58 AM, anurag <[email protected]> wrote:

>
> HI, all
> i want to put two or filter for an object.how can i put ? i m using
> google JDO jar file.
>
> RDBMS query ----select * from user where id>10 or name like 'anu%';
> i want same query in JDO
> i wrote
> select from User.class where id>10;
> its working fine. but when i put both filter that means
> select from User.class where id>10 || name>'anu';
> its throwing error.
> how to resole this issue please suggest me
> thanks in advance.
>
> anurag
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to