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
2010-10-02 19:38:55
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
2010-10-04 08:35:12