Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Trusted Contributor
jijoac
Posts: 101
Registered: ‎02-02-2011
My Carrier: Airtel
Accepted Solution

Is it possible to edit a class which implements Persistable

I created one custom class by implements Persistable

 

by using I created many objects and stored that in the persistent store

 

Now I want to modifiy that class by adding some more member variables and methods

 

is it affect our objects in the persistent store ?

Please use plain text.
Developer
simon_hain
Posts: 13,754
Registered: ‎07-29-2008
My Carrier: O2 Germany

Re: Is it possible to edit a class which implements Persistable

it will no longer be compatible with the old class, which means on an upgrade you'll lose all old settings.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Trusted Contributor
jijoac
Posts: 101
Registered: ‎02-02-2011
My Carrier: Airtel

Re: Is it possible to edit a class which implements Persistable

thanks for your reply..

Now I want to add one method in the existing class

is it affect our stored objects ?

Please use plain text.
Developer
peter_strange
Posts: 17,629
Registered: ‎07-14-2008

Re: Is it possible to edit a class which implements Persistable

Methods do not effect compatibility. 

Please use plain text.