[jOOQ/jOOQ#18133] Log message doesn't concatenate helpful information in code generator

This commit is contained in:
Lukas Eder 2025-03-12 11:11:28 +01:00
parent 2175d9e9f6
commit 82c32edc34

View File

@ -1334,7 +1334,7 @@ public class GenerationTool {
else if (className.startsWith("org.jooq.meta.") && className.endsWith("Database")) {
log.warn("Type not found", message =
"""
Your configured database type was not found: " + className + ". This can have several reasons:
Your configured database type was not found: {className}. This can have several reasons:
- You want to use a commercial jOOQ Edition, but you pulled the Open Source Edition from Maven Central. Maven groupIds are:
- org.jooq for the Open Source Edition
- org.jooq.pro for commercial editions with Java 21 support,
@ -1346,7 +1346,7 @@ public class GenerationTool {
- org.jooq.trial-java-11 for the free trial edition with Java 11 support,
- org.jooq.trial-java-8 for the free trial edition with Java 8 support
- You have mis-typed your class name.
"""
""".replace("{className}", className)
);
}