[jOOQ/jOOQ#13315] Compilation error in generated UDTRecord's POJO constructor if the UDT contains arrays of table records

This commit is contained in:
Lukas Eder 2022-03-21 16:33:39 +01:00
parent a1a4caf59f
commit a8b4fa6231

View File

@ -2308,6 +2308,10 @@ public class JavaGenerator extends AbstractGenerator {
if (baseType.equals(getStrategy().getFullJavaClassName(udt, Mode.RECORD)))
return true;
for (TableDefinition table : t.getDatabase().getTables())
if (baseType.equals(getStrategy().getFullJavaClassName(table, Mode.RECORD)))
return true;
return false;
}