Reputation: 2049
I have developed a blackberry app, in which I am using Persistent Storage to save some data. The app is already live on the market. I am creating some new PersistentStorage values in my second version. Will this data be retained if I update my app from BlackBerry App store? or the data will be lost?
Upvotes: 2
Views: 257
Reputation: 8920
If you change the class definition of your persistent objects (like adding, removing or changing the type of data members) then you will likely loose your data. The system will detect the change in structure and will have to delete the class definition and all instances of the class.
There are two ways around this problem:
Upvotes: 3