You could try using Boolean instead of boolean.

On 27 Jan 2010, at 00:48, Andrei wrote:


I have entity that is already stored in db
I added boolean field that i do not want to store in db, so it's not
marked as @Persistent

When retrieve existing entity from db i get exception

java.lang.NullPointerException: Datastore entity with kind Data and
key Data("mykey") has a null property named needsUpdate.  This
property is mapped to com.foo.Data.needsUpdate, which cannot accept
null values.

What did i do wrong?

-- 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 .


--
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