[jOOQ/jOOQ#13324] Code generation output shouldn't print table mapping output, if it's the same as the input

This commit is contained in:
Lukas Eder 2022-03-23 10:08:22 +01:00
parent 02df3dced5
commit 953501b380

View File

@ -5661,8 +5661,12 @@ public class JavaGenerator extends AbstractGenerator {
log.info("Generating table", out.file().getName() +
" [input=" + table.getInputName() +
", output=" + table.getOutputName() +
", pk=" + (table.getPrimaryKey() != null ? table.getPrimaryKey().getName() : "N/A") +
(!table.getInputName().equals(table.getOutputName())
? ", output=" + table.getOutputName()
: "") +
(table.getPrimaryKey() != null
? ", pk=" + table.getPrimaryKey().getName()
: "") +
"]");
if (log.isDebugEnabled())