Hello,
I am working on a project where I need to persist multiple large XML feeds to Mysql db.
The way I am doing it right now is that I am parsing the XML using SAX parser and then persisting the object using hibernate.
The problem I have here is that the schema of each xml is different and I have a lot of if statements into my code, it is working but I have issues maintaining the code because all the if statements and different XML feeds . I want to know if someone knows a better way of doing this.
Thank you
|