lundi 28 décembre 2009
Hibernate 3 and Java 5 Enums
This looks like already a well-known issue, but Hibernate and Java 5 Enums do not get along well. To be able to map an Enum with Hibernate, you need to use a tweak that is well explained here (I used the last version of the GenericUserTypeEnum, with the JavaDoc of the one above, and it worked well - at least for my first basic test).
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire