Postgresql Quarkus sql client PreparedQuery.executeBatch受影响的行数始终等于1

Postgresql Quarkus sql client PreparedQuery.executeBatch受影响的行数始终等于1,postgresql,quarkus,Postgresql,Quarkus,我尝试使用quarkus反应式sql客户端以这种方式在postgres DB中批量更新几行: /** * Run batch updates and return number of affected rows. */ default Uni<Integer> batchUpdate(SqlClient client, String sql, List<List<Object>> paramList) { return client

我尝试使用quarkus反应式sql客户端以这种方式在postgres DB中批量更新几行:

  /**
   * Run batch updates and return number of affected rows.
   */
  default Uni<Integer> batchUpdate(SqlClient client, String sql, List<List<Object>> paramList) {
    return client.preparedQuery(sql).
        executeBatch(prepareBatchParams(paramList)).
        map(SqlResult::rowCount);
  }
/**
*运行批更新并返回受影响的行数。
*/
默认Uni batchUpdate(SqlClient客户端、字符串sql、列表参数列表){
返回client.preparedQuery(sql)。
executeBatch(prepareBatchParams(paramList))。
映射(SqlResult::rowCount);
}
我发现返回的整数总是等于1,即使更新了超过1行。这是虫子吗?还是我的功能有问题