Support for scala Enumeration and case objects in Hibernate