How can I export data from database and store it in an XML file using Hibernate with annotation.
Please tell me any way or tutorial that can help me!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Xml Import-Export In JavaPrepare Database:
We will save the database to XML file “formula1.xml”:
Now we can clean the database and try to recreate it from the XML file:
Sample Code