I am working on xml messages that we get. I have to read the xml and store in 4 different tables.
What is the best way to handle this. Lets say if the xml schema is changed, then new column maybe added or a column maybe dropped or renamed etc…
How can we make this loose coupling. Any changes to XML or database does not require code change?
Thanks,
Not sure how you intend to use the XML once stored in Oracle, but if just storing for auditing purposes, you can store XML in a CLOB field along with a version number and some dates. In a separate reference table, relate the xml version number with its dtd (and created/modified dates).