Hello Ian, > Is it possible to set the schema to use at runtime for the generated > sources?
Yes, have a look at this section of the manual: http://www.jooq.org/manual/ADVANCED/SchemaMapping/ You can override schema names both at codegen-time and at runtime, or make it disappear entirely by specifying a default schema at runtime. Cheers Lukas 2012/4/24 Ian Clarke <[email protected]>: > We have different staging and production database schema, and we use mvn > generate-sources to generate the Jooq bindings. Unfortunately, I discovered > that regardless of which database schema is specified in the JDBC URL when I > create the SQL Connection, it is overridden by the schema specified in our > pom.xml. > > Is it possible to set the schema to use at runtime for the generated > sources? > > Thanks, > > Ian. > > -- > Ian Clarke > Blog: http://blog.locut.us/ >
