aspose file tools*
The moose likes JDBC and the fly likes How to read filed values from a clob of xml type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to read filed values from a clob of xml type" Watch "How to read filed values from a clob of xml type" New topic
Author

How to read filed values from a clob of xml type

Vivek Kr Agrawal
Ranch Hand

Joined: Sep 08, 2012
Posts: 51

Hii,,i have created a table in pl/sql with one column as clob type,have put an xml into the clob.Kindly suggest me how to read the filed values of that clob xml,as am trying hard since morning and am not getting correct answer to retrieve the filed data of the clob xml


Vivek Agrawal
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30924
    
158

Here's a code example using a reader. I generally use an ascii stream, but that is similar in code.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to read filed values from a clob of xml type