I need some help on writing some code or give me some guidence on this requirement. This is what my requirement. I have to build an XML file and store it in the table. I have created a table which has a column as CLOB. This is where I want to store this file. Below is the piece of code which generated the XML and stores it in the tempory folder
MYXmlSaxBuilder myXmlSaxBuilder = new MyXmlSaxBuilder(_pos, ec);
System.out.println("Temporary File contents are " +fos.toString());
From here onwards what I need is to store this xml file into Database table along with some other columns.
My First question :- How to store this XML file into table? Please keep in mind I also need to read it later. so that I can create a single XML from different xmls
<?xml version="1.0" encoding="UTF-8"?>
2nd question is how to read it and combine it in a single file.