title: Generating XML with DB data through dynamically changing XSD
body: <p>Considering an example for a shop <br><br>
  I have an XSD for a shop, and a number of tables having data relating to inventory, records etc. I have a DB-file specifying where the data related to the XSD lies in the tables. I need to refer this file and XSD to create XML records for multiple shops<br><br>
  My current solution is to generate JPA entities using HyperJAXB through the XSD and read the data to generate the XML's but I need to make code changes every time the DB-file and XSD have changes. </p>
  
  <p>Is it possible to accommodate these changes at runtime whilst using JPA because the DB structure is complex. How can I minimize the effort required to accommodate changes if not doing at runtime. </p>