[appengine-java] Re: complex query

2010-02-22 Thread Karel Alvarez
Actually you can have more than one inequality condition, but they must all refer to the same field, it is in the docs... :-) that is not the problem I have, thanks for replying though... Karel On 2/22/10, Blake wrote: > You can only have one inequality filter per query. So you can say: > > wher

Re: [appengine-java] lost sub entity

2010-02-27 Thread Karel Alvarez
dont you get any exceptions stacktrace in the server console? it would help... also you are calling commit() inside the for loop, although the transactions is started only once... that would crash in the second iteration in a normal db server, I am not sure what GAE does with it, in any case I don

Re: [appengine-java] local testing GAE storage

2010-03-02 Thread Karel Alvarez
\war\WEB-INF\appengine-generated\local_db.bin contains your database, you can remove it if the dev server is stopped On Tue, Mar 2, 2010 at 9:52 AM, Valentino Hankypants wrote: > hello, > > if i save some data with JDO in the storage. Where is this data stored > if i run my app locally? is there

[appengine-java] Multiple contains() in a query and exploding indexes

2010-03-02 Thread Karel Alvarez
Hi Some time ago, I asked how to use multiple contains in a query, and I got some responses, that was great and I thank everybody for they help. I am posting my findings and advance in hope it might be useful for somebody trying to do the same. I am trying to build a database with real state listi

[appengine-java] Simple query

2010-03-07 Thread Karel Alvarez
Hi guy, I hate to bother everybody again. I have a ver simple class, some fields, and an String primary key. One of the fields "lastTimeIndexed" is a date. I am trying to get the max value for it, the folowing method working fine upto 3k records, but now I added more, and it takes minutes to run. I

Re: [appengine-java] Querying datastore with keylist?

2010-03-07 Thread Karel Alvarez
Hi, there is an example in this page: http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html look for the "contains()" thanks Karel On Sun, Mar 7, 2010 at 2:19 AM, Alexander Lagler wrote: > hi, > > can you tell me how to query datastore in java with an KEYLIST by > using >

Re: [appengine-java] Simple query

2010-03-11 Thread Karel Alvarez
long to run. Can you post any other code or > benchmarking code? > > On Sun, Mar 7, 2010 at 6:33 PM, Karel Alvarez wrote: >> Hi guy, >> I hate to bother everybody again. >> I have a ver simple class, some fields, and an String primary key. One >> of the fields "

Re: [appengine-java] Simple query

2010-03-11 Thread Karel Alvarez
; > On Thu, Mar 11, 2010 at 1:25 PM, Karel Alvarez wrote: >> what kind of benchmarking you need? I could send you the local_db.bin >> file? and the code, and you can debug it line by line, it is pretty >> ovbious when that one line takes minutes to run... >> >> th