Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Saving XML in Oracle Blob Data type

 
Nirant Chikate
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I would really appriciate if someone provides me the source code to save an XML string in Oracle Blob Data type.

Thanks and Regards,
Nirant.C
 
Rajan Chinna
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Itz Nirant"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark
 
Gagan Indus
Ranch Hand
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if the mentioned link already emphasizes it, but one thing i found especially helpful when dealing with XML and CLOB columns was the ability to get a output stream and write to it..



The similar thing is possible with BLOBs, just refer to javadocs. I am curious, why would you choose BLOB over CLOB for storing XML data, which is i believe by nature is character oriented?
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you feel about native XML databases for storing XML ? Do you think that they will get popular?
 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We were doing something similar in our project:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic