Saving data using Hibernate API and also dtd changes in xml file