Hello Pay,

Thanks for your feedback! Glad it works for you

> (1)  I also need to  exclude the column matching the forced-type.

Yes, I'll file this as a bug:
https://sourceforge.net/apps/trac/jooq/ticket/1137

In MySQL, the orginial enum type can then be omitted.

> (2) naming convention is changed.
> generator.database.enum-type.MyPriorityLevel="Low","Normal", "High"

Write any of these:

generator.database.enum-type.MY_PRIORITY_LEVEL="Low","Normal", "High"
generator.database.enum-type.my_priority_level="Low","Normal", "High"

This behaves just like any other database artefacts, where
underscore_separated_words are transformed to CamelCase by
jOOQ-codegen

Cheers
Lukas

Reply via email to