This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes How to get a XML from db2 9? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to get a XML from db2 9?" Watch "How to get a XML from db2 9?" New topic
Author

How to get a XML from db2 9?

Kidd He
Ranch Hand

Joined: Sep 17, 2006
Posts: 65
I use the db2 9 which can store XML documents directly.I know JDBC 4.0 provides a method "SQLXML getSQLXML(int columnIndex)" for getting XML datatype directly from database.But there isn't JDBC4.0, so I use JDBC3.0, and I don't know how to get a XML datatype from DB2 9.
Please help me!Thank you!


SCJP1.4 93%<br />SCWCD��
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to get a XML from db2 9?