Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

query on an XML Database

 
omar bili
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i am working on an oracle database
my query is:
- select * from aaa

aaa is:
-create table aaa (
aaID integer not null ,
aaDESCR XMLTYPE
)

how can i obtain the aaDESCR from the table aaa?
i want to retreave the whole xmldocument.
does the resultSet have any function that can
return XML, the getString function is returning 'null'
thx
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is an JDBC/Oracle question, so I'm going to move it to our JDBC forum.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!