Back
JOAFIP data model change
During application life cycle the persisted data model can change.
Two ways to manage this:
- export from old application release and inport in new application release, see export/import
- change data model on the fly, during normal application
Change data model on the fly (since 3.0.0)
At file persistence manager creation there is two parameters for data model management:
The
conversion definition gives converter to use to replace a class with an
other. The conversion is done after read an old format object from the
file.
The old object must exist in the classpath.
© 2007-2009, joafip