Hi guys, 2014-04-18 21:52 GMT+02:00 Roger Thomas <[email protected]>:
> In general you would be passing the url, login and password details to the > JDBC DriveManager, they will not be comming from the config files used by > the JOOQ Generator, so something like this example > > > http://www.jooq.org/doc/3.3/manual/getting-started/tutorials/jooq-in-7-steps/jooq-in-7-steps-step4/ > > Now if you have 3 environments does that mean you have 3 databases with > the same schema, if so all you need to do is change userName, password and > url in the example. If each environment has > a different schema things get more complicated/interesting as you have to > use code generated from 3 instances of the JOOQ Generator. > In fact, things will remain simple, if you're using jOOQ's schema / table mapping feature. You can do that at code generation time or at runtime. In your case, the latter will be more interesting: http://www.jooq.org/doc/latest/manual/sql-building/dsl-context/runtime-schema-mapping/ Hope this helps, Happy Easter Lukas -- 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.
