[appengine-java] Stats are 0ms in AppStats

2010-08-13 Thread Iain
I always get 0 ms when deployed, anyone know what the issue is? real=848ms cpu=0ms api=0ms overhead=0ms (2 RPCs) -- 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

[appengine-java] Re: NullPointerException while persisting a new entity

2010-05-08 Thread Iain
I also had this problem, and I fixed it. I found that it occurs when you have a com.google.appengine.api.datastore.Text field, and you construct it with a null. That is, new Text(null). The workaround, if the string is null, make the text property null. On Apr 16, 4:40 pm, Coelho

[appengine-java] Re: Datastore Limits

2009-09-14 Thread Iain
What do you mean by times out? Do you mean you hit the 30 second deadline? On Sep 14, 3:59 am, hg hgo...@gmail.com wrote: Hi, I am writing a script that is supposed to run quite a few inserts to the datastore - up to a couple of hundred. My script keeps timing out at 92. After I ran it a few

[appengine-java] Re: Performance implications of embedded classes

2009-08-25 Thread Iain
Embedding is the same as defining the fields on the parent. Assuming you need the embedded data most of the time, and it is small, I think you gain a performance boost as to load the data you only load one entity, not two. This assumes the embedded class is small in size, and you require its