code: public static Object convertSqlXml(Connection conn, byte[] value) throws SQLException {
          Object result = createSQLXML(conn);
  
          result = convertSqlXml(result, value);
  
          return result;
      }
docs: Transfers data from byte[] into sql.SQLXML
  
  @param conn  connection for which sql.SQLXML object would be created
  @param value array of bytes
  @return sql.SQLXML from array of bytes
  @throws SQLException