views:

57

answers:

1

I need to update entity that I loaded from the datastore. How can I do this with GAE JDO?

+3  A: 

It is explained in the official "Getting Started" tutorial's section on Using the Datastore with JDO. This section contain information about updating entities (with the PersistenceManager).

Benoit Courtine
I actually had problem in my code, because I was automatically populating my entities, and I used to access private attributes and I didn't use setter method, so JDO didn't notice changes. I changed my automated tool to use setter methods and it started to work.
newbie