Your example for getting an SQLXML column and building a DOM tree for it would work just as well with a normal BLOB column. The really powerful mechanism (as explained in the SQLXML javadocs) is:
DOMSource domSource = sqlxml.getSource(DOMSource.class);
Document document = (Document) domSource.getNode(); |