Pass jOOQ related properties to the codegen process
Closed this issue · 3 comments
bombinating commented
The jOOQ codegen related env vars start with "jooq.codegen".
For a task with name , look for env vars that start with x.jooq.codegen.* and pass the variables into the task as jooq.codegen.*
bombinating commented
In order to not pass in the jdbc portions of the configuration, there has to be a way to suppress the marshalling errors.
bombinating commented
Here's the relevant manual page: https://www.jooq.org/doc/3.12/manual-single-page/#codegen-system-properties.
Looking in the code, it appears that a non-null value for the env var jooq.codegen.jdbc.url triggers the code to look at the other jooq.codegen.* vars.
bombinating commented
Properties are not env vars: https://www.baeldung.com/java-system-get-property-vs-system-getenv