R
Roedy Green
I have heard people warn many times that serialised files are not
suited for long term storage of data. I thought those warnings were
exaggerated, until last night I decided to a add a long to one
serialised class and convert from a 1.1 style enum to a 1.5. What a
nightmare!
I never would have guessed what a can of worms I was opening.
It is kind of like pulling on a loose thread on sweater and watching
the whole thing unravel before your eyes.
For my caveats and approaches to handle the problem of updating
serialised file formats see
http://mindprod.com/jgloss/serialization.html#VERSIONING
suited for long term storage of data. I thought those warnings were
exaggerated, until last night I decided to a add a long to one
serialised class and convert from a 1.1 style enum to a 1.5. What a
nightmare!
I never would have guessed what a can of worms I was opening.
It is kind of like pulling on a loose thread on sweater and watching
the whole thing unravel before your eyes.
For my caveats and approaches to handle the problem of updating
serialised file formats see
http://mindprod.com/jgloss/serialization.html#VERSIONING