[jOOQ/jOOQ#13315] Compilation error in generated UDTRecord's POJO constructor if the UDT contains arrays of table records
This commit is contained in:
parent
a1a4caf59f
commit
a8b4fa6231
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user