public static XElement parseXML ( ResultSet rs , String column ) throws SQLException , IOException , XMLStreamException { try ( InputStream is = rs . getBinaryStream ( column ) ) { if ( is != null ) { return parseXML ( is ) ; } return null ; } }
Reads the contents of a named column as an XML .