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