Home » Developer & Programmer » JDeveloper, Java & XML » insert xml data into database table
insert xml data into database table [message #251350] Fri, 13 July 2007 02:02 Go to next message
Messages: 7
Registered: May 2007
Location: kolkata
Junior Member

hi all,

please help me out from the following problem. Embarassed
i am sending a xml file from where i want insert data into the database.If any body can post a example,it will be better for me to understand.Thank you in advance.

<?xml version="1.0" encoding="UTF-8" ?>
- <Return>
- <P1>
<ret_to />
<pur_goods_rate_itc />
Re: insert xml data into database table [message #251474 is a reply to message #251350] Fri, 13 July 2007 14:13 Go to previous message
Messages: 224
Registered: May 2005
Location: UK
Senior Member
Hi there.

Well, there are literally a million and one ways that XML can end up in an Oracle database table, and loads of different ways of
storing the XML in that table.

You mention "i am sending a xml file", can you elaborate on this? You also neglect to mention the version of Oracle that you are using.

If you are on 9i or above, then you can utilise the XMLTYPE datatype in relational tables for storage of XML, but, as I said before, there are loads of different ways of storing the XML, each with advantages and disadvantages, and you need to bear in mind that whichever way you choose needs to be tailored to make it efficient to extract / query the data afterwards (if, indeed, you require to do so! Wink).

Elaborate a bit on your architecture, and we'll help further.

Previous Topic: XML Formatting
Next Topic: I can't start OC4J instance
Goto Forum:

Current Time: Tue May 28 14:52:27 CDT 2024