aspose file tools
The moose likes Oracle/OAS and the fly likes XML insert in Oracle Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "XML insert in Oracle" Watch "XML insert in Oracle" New topic
Author

XML insert in Oracle

Yashwant Palkar
Greenhorn

Joined: Dec 01, 2010
Posts: 18
We are passing following XML structure as VARCHAR2 parameter to procedure.


We want to insert above XML structure in following tables .
Customer (CustomerID is a primary key)
Address (CustomerID references to Customer.CustomerID)

Does Oracle provide any facility which for this?
Martin Vajsar
Bartender

Joined: Aug 22, 2010
Posts: 1217

Oracle has XML DB, see if it suits you. I've no experience with it though.
Paul Campbell
Ranch Hand

Joined: Oct 06, 2007
Posts: 338
Yashwant Palkar wrote:We are passing following XML structure as VARCHAR2 parameter to procedure.


We want to insert above XML structure in following tables .
Customer (CustomerID is a primary key)
Address (CustomerID references to Customer.CustomerID)

Does Oracle provide any facility which for this?


http://www.oracle.com/technology/sample_code/tech/java/codesnippet/xmldb/HowToLoadLargeXML.html
 
IntelliJ Java IDE
 
subject: XML insert in Oracle
 
Threads others viewed
Java - Mysql connectivity
UPDATE multiple columns with subquery
[Hibernate] How do you map value objects?
Hibernate inserting man-to-one fails
NPE
MyEclipse, The Clear Choice