.setAllToExcluded() does not seem to behave the way I expect on DuckDB 1.1.0 with jOOQ 3.19.12.
Given
.
setAllToExcluded()
.execute()
```
I get
org.jooq.exception.DataAccessException: SQL [insert into MyTable ("id", "someVal") values (...) on conflict ("id") do update set "id" = excluded."id", "someVal" = excluded."someVal"];
java.sql.SQLException: Binder Error: Can not assign to column 'id' because it has a UNIQUE/PRIMARY KEY constraint or is referenced by an INDEX
From the SQL it is clear why the exception is generated - but I do not understand why jOOQ would generate the
set "id" = excluded."id"
given that this is the column listed in the onConflict() ?