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