I'm wondering what the best practice is for mapping Java 5 enums. There's nothing about it in "Pro Hibernate 3" or "Hibernate in Action" and there isn't a mention of enums in the Hibernate 3.0.5 documentation.
I did a search on the Hibernate site and found the wiki article Java 5 EnumUserType. But that offers 3 different ways of solving the problem, each of which seem to have problems from what the comments say about them. So what's the most commonly used and accepted way of mapping Java 5 enums?
On another thread,
http://forum.hibernate.org/viewtopic.ph ... light=enum, Hibernate devs seemed to imply that enum support was going to be built into Hibernate 3. Did that actually happen? If so, where's the documentation on using it?