private List<Execution> getExecutions(
      JdbcRunner jdbcRunner,
      String query,
      Instant now,
      int limit,
      UnresolvedFilter unresolvedFilter) {
    return jdbcRunner.query(
        query,
        (PreparedStatement p) -> {
          int index = 1;
          p.setBoolean(index++, false);
          jdbcCustomization.setInstant(p, index++, now);
          unresolvedFilter.setParameters(p, index);
          if (!jdbcCustomization.supportsExplicitQueryLimitPart()) {
            p.setMaxRows(limit);
          }
        },
        new ExecutionResultSetMapper(false, true));
  }
Instead of doing delete+insert, we allow updating an existing execution will all new fields

@return the execution-time of the new execution
db-scheduler/src/main/java/com/github/kagkarlsson/scheduler/jdbc/JdbcTaskRepository.java