Dear Lukas, very thanks!! Now, I'm having CamelCase for enum class name. very nice!
And I have another idea about ENUM class. (1) First, refer to Master Data Generation<http://www.jooq.org/manual/ADVANCED/MasterData/>of JOOQ. This is a powerful function. I'm using it, too. The enum class of Master Data have an ID number. This ID number is useful and convenient for parameter in programming. (2) In mySql, the index of enum type is beginning with 1. (ref link<http://dev.mysql.com/doc/refman/5.0/en/enum.html>) we can get the same effect by using index value or enum value. For instance: (A) select * from someTable where priority_level = 1; (B) select * from someTable where priority_level = 'Low'; (A) and (B) get the same data. What I'm thinking ...is it possible to get a enum Type Class with ID number, like below.... public enum MyPriorityLevel implementsorg.jooq.MasterDataType<java.lang.Integer> { Low(1, "Low"), Normal(2, "Normal"), High(3, "High"); ..... } thanks! -Pay
