I am trying to create a class in HBM file which contains an Enum as a field.
The HBM is similar to this:
Just editing @Emmanuel Bourg answer and adding another like this:
a.b.c.myEnum 12
12 is equivilant to java.sql.Types.VARCHAR
java.sql.Types.VARCHAR