Reputation: 4404
How can I exclude a column in a certain table with JOQQ code generation? I have in maven the part of the "jooq-codegen-maven" plugin:
<database>
<name>org.jooq.meta.mysql.MySQLDatabase</name>
<inputSchema>fishes</inputSchema>
<includeExcludeColumns>true</includeExcludeColumns>
<includes>.*</includes>
<excludes>users.type|users.mark</excludes>
</database>
However, that doesn't work. Leaving out "users.", it will work but then the columns will be ignored in all tables, and that is not what I want.
Upvotes: 2
Views: 2853
Reputation: 220867
You have to either fully qualify an object or not qualify it at all. So, write:
<excludes>fishes\.users\.(type|mark)</excludes>
Upvotes: 3