Update EnumUserType methods for Hibernate 4.2