> So I think my preferred approach would be to use the Schema specified in the
> JDBC URL that I use to create the Connection objects.  The documentation
> isn't quite clear on how to do this.

Yes, I'm aware of this. It is not really up to date. It should be
improved soon. In the mean time, use something along these lines:

new Factory(connection, dialect,
    new Settings().withRenderMapping(
    new RenderMapping().withDefaultSchema("MySchema")));

The above Factory will avoid rendering "MySchema". With jOOQ 2.3.0,
there will also be a way to specify Settings.setRenderSchema(false),
to avoid rendering schema names all together. Right now, the default
schema will be your only option.

Cheers
Lukas

Reply via email to