Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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: 2608
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
Saloon Keeper
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 !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic