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