[appengine-java] How to workaround inequality and sort order limitations with JDO query?

2010-06-09 Thread Billy
Hi, I'm trying to do a relatively simple query using appengine(1.3.3) and JDO. Basically I want to obtain the "top 10 ranked entities for the last year". Assume I have an entity FOO and properties startDate and rating ...I would normally do this using a query like below: select from FOO where st

[appengine-java] Re: How to workaround inequality and sort order limitations with JDO query?

2010-06-10 Thread Billy
ng some > < and > sort descending within a single query. > > On Jun 9, 4:34 pm, Billy wrote: > > > > > Hi, I'm trying to do a relatively simple query using appengine(1.3.3) > > and JDO.  Basically I want to obtain the "top 10 ranked entities for > >

[appengine-java] Unit test multiple users concurrent access using LocalServiceTestHelper

2010-06-17 Thread Billy
Hi, I'm looking for advice on doing unit tests for multi threaded user access to my server side code. In particular, I have a section of server-side code that updatse an entity using JDO that I expect to potentially be executed by multiple users at the same time. If this were to happen I except a

[appengine-java] Re: Unit test multiple users concurrent access using LocalServiceTestHelper

2010-06-19 Thread Billy
After looking around for a while I found the SyncProxy library which makes it easy to test RPC services running on your local server. On Jun 17, 4:29 pm, Billy wrote: > Hi, I'm looking for advice on doing unit tests for multi threaded user > access to my server side code. > >