<jdbc> <driver>${driverClass}</driver> <url>${url}</url> <user>${user}</user> <password>${password}</password></jdbc>
driverClass=org.postgresql.DriverdatabaseName=myDatabase
...
--
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 jooq-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How are you invoking the build task? If you're using maven or gradle, property loading is supported by each respective build tool. (Well, I assume it is for grade, but I know maven supports it)for example:You could easily have a datasources.properties that you read in from your maven task that loads those parameters in.
On Tue, Sep 6, 2016 at 2:12 PM, <c.javier...@gmail.com> wrote:
Hi.I have been searching on JOOQ documentation and internet pages, but I haven't found the way to include inside the XML file used by code generation process, the jdbc configuration from external properties file.I would like something like this:
<jdbc><driver>${driverClass}</driver><url>${url}</url><user>${user}</user><password>${password}</password></jdbc>
Where: ${driverClass}, ${url}, etc are loading from a datasource.properties file like this:
driverClass=org.postgresql.DriverdatabaseName=myDatabase
...Thanks in advance
--
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 jooq-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+unsubscribe@googlegroups.com.