Dear Lukas, Let me think how to describe that use-case....
my running project is presented by java web. Sometime, I need to pass param by ID in POST or GET Data. such as: http://foo.com/showPriority?level=1 In fact, I thought problem is not on ID. ENUM Class don't support valueOf(Integer ID), still need another custom function for reverse ID to Enum type. http://stackoverflow.com/questions/5316311/java-enum-reverse-look-up-best-practice I'm used to create this kind of reverse function inside ENUM Class. Otherwise, for the Enum class from JOOQ, I'd create an utility class for looking up the ID of enum type. Or give me a right direction, :P many thanks~ - Pay
