Re: Jooq 3.8.x generator: generate all databases in a schema

2016-12-06 Thread Roded Bahat
Thanks.

On Tuesday, December 6, 2016 at 9:18:34 PM UTC+2, Lukas Eder wrote:
>
> Yes, I can confirm. jOOQ 3.8 will always generate all (possibly empty) 
> catalogs on SQL Server. This is fixed only in 3.9 (due in December 2016)
>
> 2016-12-06 10:49 GMT+02:00 Denis Miorandi  >:
>
>> Empty catalog are always generated, also with filters.
>> Probably you should wait for 3.9 that allow to specify which catalog 
>> generate afaik,
>>
>>
>>
>> 2016-12-05 19:27 GMT+01:00 :
>>
>>> Hi,
>>> I've encountered the same issue using jooq 3.8.6 and gradle-jooq-plugin 
>>> 2.0.2.
>>> While the  trick works, jooq is still generating packages, 
>>> CatalogImpl and SchemaImpl implementations for the rest of the catalogs.
>>> Although  is available for 3.8.6, gradle-jooq-plugin will 
>>> not execute as it references jooq-codegen-3.8.0.xsd due to the value of 
>>> Constants.XSD_CODEGEN (that is, if my analysis is correct).
>>> Is there a way around this? namely, I'd like to have jooq ignore all 
>>> catalogs except one. 
>>> Thanks
>>>
>>> On Tuesday, October 18, 2016 at 9:55:56 AM UTC+3, Denis Miorandi wrote:

 Hi Lukas,
 you are right about documentation, it mention "excludes match 
 before includes", but it's not so clear if and how you can mix include 
 / exclude.

 Tks for interesting.

 2016-10-17 20:56 GMT+02:00 Lukas Eder :

> Hi Denis,
>
> Thank you very much for your feedback. The documentation that you've 
> linked mentiones "excludes match before includes". Perhaps that's a bit 
> too 
> implicit to conclude that "match before" might mean "have priority"? I'll 
> reword this to make it more clear. I've created an issue for this:
> https://github.com/jOOQ/jOOQ/issues/5595
>
>
> 2016-10-14 12:22 GMT+02:00 Denis Miorandi :
>
>> Hi Lukas,
>>   ok, got it. It worked for me. Just a note. Is not clear 
>> from documentation how include / exclude work lookin at 
>>
>> http://www.jooq.org/doc/3.8/manual/code-generation/codegen-configuration/
>> . 
>> I saw this method on source code to achieve this:
>>
>>protected final  List 
>> filterExcludeInclude(List definitions, String[] e, String[] i, 
>> List f) {
>>
>> probably should be better explain in documentation that exclude have 
>> priority and i.e. exclude .* cut all irrispective of include definition.
>>  
>>
>> 
>> org.jooq.pro
>> jooq-codegen-maven
>> 
>> 
>> 
>> (?i:MYCATALOG.dbo.*)
>> 
>> 
>> 
>> 
>> 
>>
>>
>>
>> Il giorno martedì 20 settembre 2016 11:01:28 UTC+2, Lukas Eder ha 
>> scritto:
>>>
>>> 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  and  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 :
>>>
 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://xx:1433;databaseName=yy;

 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+...@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, 

Re: Jooq 3.8.x generator: generate all databases in a schema

2016-12-06 Thread Lukas Eder
Yes, I can confirm. jOOQ 3.8 will always generate all (possibly empty)
catalogs on SQL Server. This is fixed only in 3.9 (due in December 2016)

2016-12-06 10:49 GMT+02:00 Denis Miorandi :

> Empty catalog are always generated, also with filters.
> Probably you should wait for 3.9 that allow to specify which catalog
> generate afaik,
>
>
>
> 2016-12-05 19:27 GMT+01:00 :
>
>> Hi,
>> I've encountered the same issue using jooq 3.8.6 and gradle-jooq-plugin
>> 2.0.2.
>> While the  trick works, jooq is still generating packages,
>> CatalogImpl and SchemaImpl implementations for the rest of the catalogs.
>> Although  is available for 3.8.6, gradle-jooq-plugin will
>> not execute as it references jooq-codegen-3.8.0.xsd due to the value of
>> Constants.XSD_CODEGEN (that is, if my analysis is correct).
>> Is there a way around this? namely, I'd like to have jooq ignore all
>> catalogs except one.
>> Thanks
>>
>> On Tuesday, October 18, 2016 at 9:55:56 AM UTC+3, Denis Miorandi wrote:
>>>
>>> Hi Lukas,
>>> you are right about documentation, it mention "excludes match
>>> before includes", but it's not so clear if and how you can mix include
>>> / exclude.
>>>
>>> Tks for interesting.
>>>
>>> 2016-10-17 20:56 GMT+02:00 Lukas Eder :
>>>
 Hi Denis,

 Thank you very much for your feedback. The documentation that you've
 linked mentiones "excludes match before includes". Perhaps that's a bit too
 implicit to conclude that "match before" might mean "have priority"? I'll
 reword this to make it more clear. I've created an issue for this:
 https://github.com/jOOQ/jOOQ/issues/5595


 2016-10-14 12:22 GMT+02:00 Denis Miorandi :

> Hi Lukas,
>   ok, got it. It worked for me. Just a note. Is not clear from
> documentation how include / exclude work lookin at
> http://www.jooq.org/doc/3.8/manual/code-generation/codegen-c
> onfiguration/.
> I saw this method on source code to achieve this:
>
>protected final  List
> filterExcludeInclude(List definitions, String[] e, String[] i,
> List f) {
>
> probably should be better explain in documentation that exclude have
> priority and i.e. exclude .* cut all irrispective of include definition.
>
>
> 
> org.jooq.pro
> jooq-codegen-maven
> 
> 
> 
> (?i:MYCATALOG.dbo.*)
> 
> 
> 
> 
> 
>
>
>
> Il giorno martedì 20 settembre 2016 11:01:28 UTC+2, Lukas Eder ha
> scritto:
>>
>> 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  and  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 :
>>
>>> 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://xx:1433;databaseName=yy;
>>>
>>> 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+...@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+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

 --
 You received this message because you are subscribed to a topic in the
 Google Groups "jOOQ User Group" group.
 To unsubscribe from this topic, visit 

Re: Jooq 3.8.x generator: generate all databases in a schema

2016-12-06 Thread Denis Miorandi
Empty catalog are always generated, also with filters.
Probably you should wait for 3.9 that allow to specify which catalog
generate afaik,



2016-12-05 19:27 GMT+01:00 :

> Hi,
> I've encountered the same issue using jooq 3.8.6 and gradle-jooq-plugin
> 2.0.2.
> While the  trick works, jooq is still generating packages,
> CatalogImpl and SchemaImpl implementations for the rest of the catalogs.
> Although  is available for 3.8.6, gradle-jooq-plugin will
> not execute as it references jooq-codegen-3.8.0.xsd due to the value of
> Constants.XSD_CODEGEN (that is, if my analysis is correct).
> Is there a way around this? namely, I'd like to have jooq ignore all
> catalogs except one.
> Thanks
>
> On Tuesday, October 18, 2016 at 9:55:56 AM UTC+3, Denis Miorandi wrote:
>>
>> Hi Lukas,
>> you are right about documentation, it mention "excludes match
>> before includes", but it's not so clear if and how you can mix include /
>> exclude.
>>
>> Tks for interesting.
>>
>> 2016-10-17 20:56 GMT+02:00 Lukas Eder :
>>
>>> Hi Denis,
>>>
>>> Thank you very much for your feedback. The documentation that you've
>>> linked mentiones "excludes match before includes". Perhaps that's a bit too
>>> implicit to conclude that "match before" might mean "have priority"? I'll
>>> reword this to make it more clear. I've created an issue for this:
>>> https://github.com/jOOQ/jOOQ/issues/5595
>>>
>>>
>>> 2016-10-14 12:22 GMT+02:00 Denis Miorandi :
>>>
 Hi Lukas,
   ok, got it. It worked for me. Just a note. Is not clear from
 documentation how include / exclude work lookin at
 http://www.jooq.org/doc/3.8/manual/code-generation/codegen-
 configuration/.
 I saw this method on source code to achieve this:

protected final  List
 filterExcludeInclude(List definitions, String[] e, String[] i,
 List f) {

 probably should be better explain in documentation that exclude have
 priority and i.e. exclude .* cut all irrispective of include definition.


 
 org.jooq.pro
 jooq-codegen-maven
 
 
 
 (?i:MYCATALOG.dbo.*)
 
 
 
 
 



 Il giorno martedì 20 settembre 2016 11:01:28 UTC+2, Lukas Eder ha
 scritto:
>
> 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  and  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 :
>
>> 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://xx:1433;databaseName=yy;
>>
>> 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+...@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+...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "jOOQ User Group" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>>> pic/jooq-user/nWE8RZKak5E/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> jooq-user+...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Dott. Denis Miorandi
>> via dei Vignai 27
>> 38060 - Nogaredo (TN)
>>
>>
>>
>> --
> You 

Re: Jooq 3.8.x generator: generate all databases in a schema

2016-10-18 Thread Denis Miorandi
Hi Lukas,
you are right about documentation, it mention "excludes match
before includes", but it's not so clear if and how you can mix include /
exclude.

Tks for interesting.

2016-10-17 20:56 GMT+02:00 Lukas Eder :

> Hi Denis,
>
> Thank you very much for your feedback. The documentation that you've
> linked mentiones "excludes match before includes". Perhaps that's a bit too
> implicit to conclude that "match before" might mean "have priority"? I'll
> reword this to make it more clear. I've created an issue for this:
> https://github.com/jOOQ/jOOQ/issues/5595
>
> 2016-10-14 12:22 GMT+02:00 Denis Miorandi :
>
>> Hi Lukas,
>>   ok, got it. It worked for me. Just a note. Is not clear from
>> documentation how include / exclude work lookin at
>> http://www.jooq.org/doc/3.8/manual/code-generation/codegen-configuration/
>> .
>> I saw this method on source code to achieve this:
>>
>>protected final  List
>> filterExcludeInclude(List definitions, String[] e, String[] i,
>> List f) {
>>
>> probably should be better explain in documentation that exclude have
>> priority and i.e. exclude .* cut all irrispective of include definition.
>>
>>
>> 
>> org.jooq.pro
>> jooq-codegen-maven
>> 
>> 
>> 
>> (?i:MYCATALOG.dbo.*)
>> 
>> 
>> 
>> 
>> 
>>
>>
>>
>> Il giorno martedì 20 settembre 2016 11:01:28 UTC+2, Lukas Eder ha scritto:
>>>
>>> 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  and  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 :
>>>
 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://xx:1433;databaseName=yy;

 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+...@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.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "jOOQ User Group" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/jooq-user/nWE8RZKak5E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> jooq-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Dott. Denis Miorandi
via dei Vignai 27
38060 - Nogaredo (TN)

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


Re: Jooq 3.8.x generator: generate all databases in a schema

2016-10-17 Thread Lukas Eder
Hi Denis,

Thank you very much for your feedback. The documentation that you've linked
mentiones "excludes match before includes". Perhaps that's a bit too
implicit to conclude that "match before" might mean "have priority"? I'll
reword this to make it more clear. I've created an issue for this:
https://github.com/jOOQ/jOOQ/issues/5595

2016-10-14 12:22 GMT+02:00 Denis Miorandi :

> Hi Lukas,
>   ok, got it. It worked for me. Just a note. Is not clear from
> documentation how include / exclude work lookin at
> http://www.jooq.org/doc/3.8/manual/code-generation/codegen-configuration/
> .
> I saw this method on source code to achieve this:
>
>protected final  List
> filterExcludeInclude(List definitions, String[] e, String[] i,
> List f) {
>
> probably should be better explain in documentation that exclude have
> priority and i.e. exclude .* cut all irrispective of include definition.
>
>
> 
> org.jooq.pro
> jooq-codegen-maven
> 
> 
> 
> (?i:MYCATALOG.dbo.*)
> 
> 
> 
> 
> 
>
>
>
> Il giorno martedì 20 settembre 2016 11:01:28 UTC+2, Lukas Eder ha scritto:
>>
>> 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  and  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 :
>>
>>> 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://xx:1433;databaseName=yy;
>>>
>>> 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+...@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.
>

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


Re: Jooq 3.8.x generator: generate all databases in a schema

2016-10-14 Thread Denis Miorandi
Hi Lukas,
  ok, got it. It worked for me. Just a note. Is not clear from 
documentation how include / exclude work lookin at 
http://www.jooq.org/doc/3.8/manual/code-generation/codegen-configuration/. 
I saw this method on source code to achieve this:

   protected final  List 
filterExcludeInclude(List definitions, String[] e, String[] i, 
List f) {

probably should be better explain in documentation that exclude have 
priority and i.e. exclude .* cut all irrispective of include definition.
 


org.jooq.pro
jooq-codegen-maven



(?i:MYCATALOG.dbo.*)








Il giorno martedì 20 settembre 2016 11:01:28 UTC+2, Lukas Eder ha scritto:
>
> 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  and  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  >:
>
>> 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://xx:1433;databaseName=yy;
>>
>> 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+...@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.


Re: Jooq 3.8.x generator: generate all databases in a schema

2016-09-20 Thread Lukas Eder
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  and  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 :

> 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://xx:1433;databaseName=yy;
>
> 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.


Jooq 3.8.x generator: generate all databases in a schema

2016-09-19 Thread Denis Miorandi
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://xx:1433;databaseName=yy;

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.