This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType" Watch "HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType" New topic
Author

HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType

Bennet Xavier
Ranch Hand

Joined: Jun 19, 2008
Posts: 162
Hi All,

i have org.w3c.dom.Document Object(its XML Document), i need to store this value into Database column of type XMLTYPE.

To store, i am calling one procedure in java, the procedure accepts XMLTYPE argument,

Is there any way to convert org.w3c.dom.Document to oracle.xdb.XMLType except using createXMLType of oracle.xdb.XMLType class.

because i dont want to connect to database.

i don't know how to do this, i searched a lot i didnt find any solution, please help me out,

Thanks In Advance,

Bennet Xavier. X
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: HOw to Convert org.w3c.dom.Document to oracle.xdb.XMLType
 
Similar Threads
XMLType in oracle procedure
XMLTYPE DATATYPE
Is this possible?
String to XMLType Conversion
How to convert String to org.w3c.dom.Document