wood burning stoves 2.0*
The moose likes JDBC and the fly likes Convert XML data stored in a BLOB column in database back to XML format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Convert XML data stored in a BLOB column in database back to XML format " Watch "Convert XML data stored in a BLOB column in database back to XML format " New topic
Author

Convert XML data stored in a BLOB column in database back to XML format

Ramya Teja
Greenhorn

Joined: Jul 26, 2011
Posts: 1
Hi,

XML data is being stored in an BLOB column in database.
I want to convert the BLOB data back to XML data.
Please tell me how to do this using JDBC code.

Thanks
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30130
    
150

XML is character data and should be stored in a CLOB. BLOBs are for binary data and it doesn't make sense for XML.


[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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Convert XML data stored in a BLOB column in database back to XML format
 
Similar Threads
Parsing BLOB datatype
Converting Blob to word
How to upload a byte array into BLOB column?
How to convert the BLOB into String
BLOB conversion