Dear Lukas, 

You're right. not all RDBMS support ENUM type. It's not good idea to let 
ENUM class have ID value. 
The number of enum type in mySql is beginning with 1. Maybe other RDBMS 
would not. even no support number.....

(I'm not good on PostgreSQL. From 
Document<http://www.postgresql.org/docs/9.1/static/datatype-enum.html>, 
PostgreSQL seems 
not to support query by ID...)

But, you still also give me a good Generic utility from mySqlFactory, 
thanks!
I think it's good enough. I totally agree on this utility for mySql.

I took a look at "MinuteProject 4 JOOQ". Its enum type seem not to support 
looking-up ID. or I missed something.

Have a good day!
-Pay.





Reply via email to