Hello,

In my code I have two variables that point to an entity that is the
result of some query. I then modify some of the properties using one
of the variables and then call put() on that variable. These changes
do not propagate to the 2nd variable that was pointing to that entity.
This leads me to believe that these are just copies of the underlying
datastore record and not references. Is this correct?

What's the best practice when it comes to things like this?

i.e., I have a session variable that is a datastore entity with all
the user's info. Some parts of my site may make changes to this entity
and update the datastore, but the session entity does not see these
changes unless I re-query the datastore.

Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to