No, this is not expected behavior. Try rolling back your application and
seeing if this still occurs. I suspect something else is wrong - you just
need to narrow down the version of your application that causes this to
happen.

2010/4/27 Marcos Vinícius Soares <[email protected]>

> I believe this is not allowed. Once you change a class you cannot retrieve
> the older objects anymore. In this case, you added a field to a class, but,
> what if you had removed two fields!? How is the framework supposed to treat
> this!?
>
> Try rolling back your class and see if you can retrieve the old objects. I
> believe you will only be able to get them this way.
>
>
>
>
> On Tue, Apr 27, 2010 at 4:22 PM, kghate <[email protected]> wrote:
>
>> any ideas on what I am doing wrong? Please help!
>>
>> On Apr 27, 12:31 am, kghate <[email protected]> wrote:
>> > I am storing some persistent data and all is working fine, I have a
>> > simple data class per examples provided in the "Storing Data" section.
>> >
>> > However, I noticed that all my stored data got reset to null when I
>> > added a couple new fields to be stored.
>> >
>> > To give an example, my "employee" data class was storing firstName and
>> > DOB and had 5 entries. I added two more fields, lastName and
>> > isPermanent and found that my earlier 5 entries got reset to null. The
>> > new data class is working fine and all new entries are being stored as
>> > expected, but I lost existing entries.
>> >
>> > What am I doing wrong here? Is this expected behavior? How do I ensure
>> > that existing data does not get reset when new persistent fields are
>> > added to the data class?
>> >
>> > Please help!
>> >
>> > --
>> > 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]<google-appengine-java%[email protected]>
>> .
>> > For more options, visit this group athttp://
>> 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]<google-appengine-java%[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]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>



-- 
Ikai Lan
Developer Relations, Google App Engine
Twitter: http://twitter.com/ikai
Delicious: http://delicious.com/ikailan

----------------
Google App Engine links:
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

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