A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XMLType in oracle procedure
Joined: Jul 22, 2008
Feb 15, 2010 01:05:57
From my Java application I am passing xmltype data to the oracle procedure which is in following format :
<items> <item>123456</item> <item>546525</item> <item>259875</item> <item>265874</item> </items>
Can anybody tell me how to get this xmltype data in the procedure and extract all the values sequentially, as i need these values to be checked in some of my tables one by one.
Thanks in Advance,
Joined: Feb 06, 2008
Feb 16, 2010 08:23:33
I worked in an application which heavily used XML and we used to pass it as CLOB object to database and then convert it to XMLTYPE in database and proceed. Hope this helps.
It is sorta covered in the
JavaRanch Style Guide
subject: XMLType in oracle procedure
populating jsp page from document object works for one but not multiple elements
how to use data of type XMLTYPE in database in java
Hibernate mapping using Oracle XML
problem in parsing an XML using SAX parser.
ORA-21700: object does not exist or is marked for delete
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014