[jOOQ/jOOQ#10197] Implicit join constructor shouldn't be generated on table valued functions

This commit is contained in:
Lukas Eder 2020-05-15 16:29:29 +02:00
parent 1980caa901
commit 565ad6a83c

View File

@ -4418,7 +4418,7 @@ public class JavaGenerator extends AbstractGenerator {
out.println("}");
}
if (generateImplicitJoinPathsToOne() && generateGlobalKeyReferences()) {
if (generateImplicitJoinPathsToOne() && generateGlobalKeyReferences() && !table.isTableValuedFunction()) {
out.println();
if (scala) {