code: public static Object convertSqlXml(Connection conn, InputStream input) throws SQLException {
          return convertSqlXml(conn, toByteArray(input));
      }
docs: Transfers data from InputStream into sql.SQLXML
  <p/>
  Using default locale. If different locale is required see
  {@link #convertSqlXml(java.sql.Connection, String)}
  
  @param conn  connection for which sql.SQLXML object would be created
  @param input InputStream
  @return sql.SQLXML from InputStream
  @throws SQLException