[jOOQ/jOOQ#18753] Insert::$updateSet doesn't replace the SET clause, but appends to it

This commit is contained in:
Lukas Eder 2025-07-09 13:48:24 +02:00
parent 565ab6b916
commit 4878ff8cef

View File

@ -1391,7 +1391,10 @@ implements
if ($updateSet() == newUpdateSet)
return this;
else
return copy(i -> i.addValuesForUpdate(newUpdateSet));
return copy(i -> {
i.updateMap.clear();
i.updateMap.putAll(newUpdateSet);
});
}
@Override