[jOOQ/jOOQ#13571] Fixed instanceof pattern backport

This commit is contained in:
Lukas Eder 2022-05-18 09:59:38 +02:00
parent f11d60d67b
commit 8a4d33519d

View File

@ -877,7 +877,7 @@ implements
// [#5214] [#13571] PostgreSQL EXCLUDED pseudo table emulation
// The InsertQueryImpl uses "t" as table name
um.replaceAll((key, v) -> {
if (t != null && v instanceof Excluded<?> e) {
if (t != null && v instanceof Excluded) { Excluded<?> e = (Excluded<?>) v;
if (t.field(e.$field()) != null)
return Tools.qualify(t, e.$field());
else