You might want to implement an alternative procedure of the following
stages to change the data type of your data mamber = field:

1.  Add the data member quantityToAddNew of data type Integer. Use
this in your code instead of quantityToAdd. Deploy.
2.  After a suitable delay (at least 24 hours?): change the data type
of the data member quantityToAdd to Integer. Use this in your code
instead of quantityToAddNew. Deploy.
3.  After a suitable delay (at least 24 hours?): remove the data
member quantityToAddNew. Deploy. You're done.

Enjoy?


On Oct 29, 11:44 pm, Ronoaldo José de Lana Pereira
<[email protected]> wrote:
> Sine you are talking about _ah_SESSION stuff I suppose you are serializing
> ToBuyBeans to the sessions. On AppEngine, sessions are implemented using a
> combination of datastore and memecache. When you deleted your old session
> data from the datastore, the memcache was still there, and only when they
> got flushed your problem was "automatic" solved.
>
> Sadly, I was having this trouble too previously, and the only way to get
> rid of it was to deploy a versions that was trying to fetch data from
> session and "convert" to new format or invalidate the session. This is very
> odd, tought, so I started to store only unchanged data, like a JSON
> representation of you objects, that will never stop your app when you
> change your code and redeploy. Gson and flex-json are good start points,
> apart from the fact that they add some small conversion overhead before
> store data in session.
>
> Hope this helps (sorry for typos ... I'm sleepy)
>
> -Ronoaldo

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