feedback / send your comments
mail to luc peuvrier
chat channel
joafip users mailing list
forums

BACK TO THE INDEX

RETOUR A L'INDEX

JOAFIP export / import

xml shemas for JOAFIP

Why for ?

if you must not loose your previous persisted data, exporting and importing data is needed in these cases below:

alternatively you can change data model on the fly.

Transient field are exported

The reason is that transient field value are involved in object state, it must be exported to create an object in coherent state when importing.

Joafip release change

From first release thru 2.2.2b<minor> release have compatible storage format.
This means you can change JOAFIP without needs of export your data before and import after JOAFIP release change.

The release 2.2.2b4 is the first release able to export and import persisted data.

Class/Fields change

JOAFIP deals by default with newer versions of classes as described below:

At file persistence manager creation there is two parameters for data model management:

For more advanced class migrations:

Manage data model change at import

Using import, must have to do custom pre-processing of the XML before sending it to XStream (for example, with XSLT,  DOM , SAX,  or STAX manipulations).



feedback / send your comments
mail to luc peuvrier
chat channel
joafip users mailing list
forums

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
© 2007-2012, joafip