Hi Eric,

Patching is one option, of course. Another is to call the GenerationTool
programmatically. You can load the jooq-config.xml with JAXB, and modify
the org.jooq.util.jaxb.Configuration.getJdbc() object manually, reading the
password from the prompt (or some other source)

More information about programmatic code generator configuration can be
found here:
http://www.jooq.org/doc/latest/manual/code-generation/codegen-programmatic

Hope this helps,
Lukas

2016-07-14 0:38 GMT+02:00 <[email protected]>:

> Trying to find an answer in
> https://github.com/jOOQ/jOOQ/blob/master/jOOQ-codegen/src/main/java/org/jooq/util/GenerationTool.java
> but not quite seeing one.
>
> Ideally I'd like to check into our local git repo a jooq-config.xml, but
> not the password (and simply have a command line prompt?)
>
> Should I just try to patch
> https://github.com/jOOQ/jOOQ/blob/master/jOOQ-codegen/src/main/java/org/jooq/util/GenerationTool.java#L250
> ?
>
> Thoughts appreciated,
>
> Eric
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to