• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get XMLType column value from Oracle using JDBC ?

 
Dennis Patel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can anyone help me out how to get XMLType Column value from Oracle using JDBC. I'm unable to get the the CLOB.. Is there any other way to get the XMLType column value? Below is the query that i'm using..

"SELECT XMLCOLUMN FROM DATA_TABLE" - XMLCOLUMN is my XMLTYPE column..

Any help on this will be appreciated


Thanks,
Dee Kay
 
Jan Cumps
Bartender
Posts: 2620
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!
 
Dennis Patel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dee Kay wrote:Hi,

Can anyone help me out how to get XMLType Column value from Oracle using JDBC. I'm unable to get the the CLOB.. Is there any other way to get the XMLType column value? Below is the query that i'm using..

"SELECT XMLCOLUMN FROM DATA_TABLE" - XMLCOLUMN is my XMLTYPE column..

Any help on this will be appreciated


Thanks,
Dee Kay


Hi All,

I found the way to get this done.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Posting links like this to your own site is called astroturfing and is not considered very nice
 
Scott Selikoff
author
Bartender
Posts: 4033
18
Eclipse IDE Flex Google Web Toolkit
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dennis Patel wrote:I found the way to get this done.


Why not post your solution here for others that might have the same problem?
 
Sam Zou
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scott Selikoff wrote:
Dennis Patel wrote:I found the way to get this done.


Why not post your solution here for others that might have the same problem?


True, you get information from forums but you have to share your knownledge too !
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!