This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author & internet detective
Marshal
Posts: 37714
579
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML is character data and should be stored in a CLOB. BLOBs are for binary data and it doesn't make sense for XML.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!