Christopher, > Appologies if I misunderstood and was off-topic.
This isn't off-topic. You're right on track. > We have about 200-300 such enums, so if jOOQ allowed us to say that > column X of table Y should be mapped to a number-based enum, it would > be excellent. I guess it would mean adding the getEnum(int) method to > the super interface, and maybe have to generify that super interface > but these are implementation considerations. This will be possible in some future version. But as I previously mentioned in this thread, jOOQ's type system isn't ready for such mapping yet, hence I'm not officially supporting these undocumented features. But I can see the need for it. Implementation hints / contributions are very welcome! Cheers Lukas
