2016-04-22 15:42 GMT+02:00 <[email protected]>:

>
> After this to post switching to the issue tracker.  Two notes before
> switching to the issue tracker.
>
> The problem does seem to be case sensitivity but with the inputSchema
> element and not the includes element.
>
> <inputSchema>MNEMONICS</inputSchema>
>
> Yes, I'm sorry. That's what I meant, actually.

> Secondly:
> My sample configuration did not faithfully replicate my actual
> configuration.
>
> Here is corrected configuration with the <inputSchema> element added which
> faithfully replicates the NPE I'm seeing.
> If I change  <inputSchema>MNEMONICS</inputSchema> to  <inputSchema>
> mnemonics</inputSchema>
> then I avoid the NPE but don't generate any tables.
>
> Most importantly;  If I remove the inputSchema element then I can
> successfully generate my tables but get a few extra like
> InformationSchema.java  (which I suspect I could fix by updating the
> excludes element ).
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <configuration>
>    <!-- Configure the database connection here -->
>    <jdbc>
>       <driver>com.mysql.jdbc.Driver</driver>
>       <url>jdbc:mysql://localhost:3306</url>
>       <user>sa</user>
>       <password>fake</password>
>    </jdbc>
>
>    <generator>
>       <database>
>          <name>org.jooq.util.mariadb.MariaDBDatabase</name>
>          <includes>TEMPLATE_TYPE</includes>
>          <excludes>
>             UNUSED_TABLE # This table (unqualified name) should not be 
> generated
>             | PREFIX_.* # Objects with a given prefix should not be generated
>             | SECRET_SCHEMA\.SECRET_TABLE # This table (qualified name) 
> should not be generated
>             | SECRET_ROUTINE # This routine (unqualified name) ...
>          </excludes>
>          <inputSchema>MNEMONICS</inputSchema>
>       </database>
>       <generate></generate>
>       <target>
>          <packageName>sample</packageName>
>          <directory>temp</directory>
>       </target>
>    </generator>
> </configuration>
>
>
Interesting, thanks for the heads up. This will certainly help
investigating things. I will update further findings directly on the issue:
https://github.com/jOOQ/jOOQ/issues/5213

Best Regards,
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