generate enum class from table with JOOQ
I have the following table called YNM: id name 1 YES 2 NO 3 MAYBE and want JOOQ to generate the following java enum: public enum YNM { YES,NO,MAYBE; } I understand that support for this was dropped in JOOQ 3 for being overly complicated/anti-intuitive. Is there a way of achieving this? Thanks in advance. Sure, you could re-implement the removed feature on your side in a few steps: 1. Implement the generator for that enum You would need to override the JavaGenerator to implement the code generation for the translation of your master data (might be several tables) to enums. How that works is