code: public static Object convertBlob(Object blob, String value) throws SQLException {
          return convertBlob(blob, value.getBytes());
      }
docs: Transfers data from String into sql.Blob
  
  @param blob  sql.Blob which would be filled
  @param value String
  @return sql.Blob from String
  @throws SQLException