|
|
|
Change By:
|
Brett Meyer
(18/Oct/12 9:03 AM)
|
Description:
|
Test case: o.h.test.annotations.enumerated.EnumeratedTypeTest#testTypeCriteria
_EntityEnum_ is annotated with _
MetadataImpl#processTypeDefinitions processes
@
TypeDefs_
TypeDefs annotations into an internal Map
.
The _@TypeDef_ defines a custom type class for the _LastNumber_ enum. This type def is ignored -- 'lastNumber' is still of type int
However
,
those definitions are not used
when
it should be a varchar.
Note that
defining
the
_@Type_ annotations on the enum fields work as expected
attribute binding types
.
|
Summary:
|
Enums not affected by Entity's
@TypeDefs
processed, but not used
|
|
|
|