Results 1 to 1 of 1
- 10-05-2011, 02:45 PM #1Member
- Join Date
- Sep 2011
- Rep Power
JAXB: Binding Model in different versions
I've a question concerning jaxb bindings.
the situation is the following:
i've kinda hugh model which i annotated according to jaxB conventions. exporting my model to xml leads to a valid xml file. so far so good.
now the model changed - not only due to renaming, adding, deleting attributes, but also structures inside the model changed. so i annotated the new model as well and everything works fine too.
what i want now, is to get data from my old model into the newone. but because the changes were at some points really big, jaxb can't handle it anymore.
now my question:
is there any possibility, to do something like a schema to schema binding or mapping. so that i create a schema with both models and than write some kind of binding file or configuration file, to let jaxb know which attribute in the old version of the model belongs to which attribute in die new version of the model - this could be in total different classes.
i would be glad if someone coul help me out here
- By ChrisNY in forum NetBeansReplies: 0Last Post: 08-14-2010, 10:09 AM
- By Fusebox in forum XMLReplies: 0Last Post: 06-11-2010, 10:06 PM
- By jazzy_jeff in forum XMLReplies: 0Last Post: 05-04-2010, 10:10 PM
- By mnsse in forum New To JavaReplies: 8Last Post: 09-14-2009, 08:53 PM
- By surajkumar in forum XMLReplies: 0Last Post: 09-02-2008, 12:32 PM