• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

How to get XMLType column value from Oracle using JDBC ?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch!
 
Dennis Patel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Posting links like this to your own site is called astroturfing and is not considered very nice
 
author
Posts: 4356
45
jQuery Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 !
 
reply
    Bookmark Topic Watch Topic
  • New Topic