I sent a pull request with a test and the correction.
It is with that description: "HHH-7108 TypeDef in Enum"
Basically 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.
I sent a pull request with a test and the correction.
It is with that description: "HHH-7108 TypeDef in Enum"
Basically 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.
This provide an easy way to extend EnumType