[jOOQ/jOOQ#15756] Implicit JOIN implementation for DML is incorrect if

paths navigate self joins
This commit is contained in:
Lukas Eder 2023-10-25 14:29:21 +02:00
parent 8e28aac4c2
commit c9e2b57e13

View File

@ -195,7 +195,7 @@ implements
accept1(ctx);
}
else {
Table<?> parent = t.alias.wrapped;
Table<?> parent = t.alias.wrapped.as(t);
Field<T> parentField = parent.field(this);
Condition c = t.childPath != null
? JoinTable.onKey0(t.childPath, t.path, parent)