2014-04-30 17:50 GMT+02:00 <[email protected]>:

> You were right, It now works.
>

Great!


>
> By the way, all the query generated have the database name in front of the
> columns like
>
> select `database_name`.`table`.`column2` from `database_name`.`table`
>> where `database_name`.`table`.`column1` = 'aaaa';
>>
>
> Is there a way to disable that ?
> If you have different environment with different database names, that
> could be a problem.
>

You have several options - e.g. by using Settings:
-
http://www.jooq.org/javadoc/latest/org/jooq/conf/Settings.html#renderSchema
-
http://www.jooq.org/doc/latest/manual/sql-building/dsl-context/custom-settings/

Or by using codegen-time or runtime schema mapping:
-
http://www.jooq.org/doc/latest/manual/sql-building/dsl-context/runtime-schema-mapping/
- http://www.jooq.org/doc/latest/manual/code-generation/schema-mapping/

Cheers
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.

Reply via email to