hibernate/hibernate-orm — pull request #355 by Janario (2012-07-11 22:28:02+00:00)
Title: HHH-7108 TypeDef in Enum

Definition of type for enum and imported to EnumType values that was read in SimpleValueBinder.

There are 3 kinds of type:
explicit: When an annotation that define a type is informed how @Type, @Lob, @Temporal, @Enumerated etc.
implicit: When annotation is not informed but there is a global type for the returned class
default: When annotation is not informed and it has a default type for returned class like @Enumerated(ORDINAL), int, string etc.

Extends EnumType works now.