Hi Denis,

Thank you for reporting this. In jOOQ 3.8, we've started supporting the
org.jooq.Catalog type in the code generator, which is very useful in SQL
Server, one of the few databases that allows multi-catalog queries (they're
called databases in SQL Server).

Unfortunately, jOOQ 3.8 was shipped without #4794, which allows for
configuring catalogs in the code generator, as many users don't want all
the catalogs to be generated:
https://github.com/jOOQ/jOOQ/issues/4794

The best workaround so far is to use <includes/> and <excludes/> to exclude
all the undesired catalogs. The catalogs themselves will still be
generated, but they will at least be empty. If that's still an issue, you
could remove those catalogs in a post-generation build step.

I hope this helps - and I'm sorry for the inconvenience.
Lukas

2016-09-19 13:34 GMT+02:00 Denis Miorandi <denis.miora...@gmail.com>:

> Switching from jooq 3.7.4 to 3.8.4, when I generate a single db on a
> schema using and ulr like this
>
> jdbc:jtds:sqlserver://xxxxxx:1433;databaseName=yyyyyyyyyy;
>
> Results is a generation of all databases on dbo.* schema. I want to
> generate just one of it, like on 3.7.4.
>
> How can I achieve this via maven plugin?
> I've seen a schema selector but not a database selector. This prevent me
> to migrating
>
>
>
>
>
>
>
> --
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to