Brett Meyer commented on Bug HHH-7703

Some scratch from debugging:

SingularAttributeSourceImpl#getTypeInformation always returns a new ExplicitHibernateTypeSourceImpl

Binder#bindBasicAttribute -> Binder#bindHibernateTypeDescriptor -> ExplicitHibernateTypeSourceImpl#getName -> CompositeAttributeTypeResolver#getExplicitHibernateTypeName eventually calls AttributeTypeResolver to find the type name using @Type
If that returns null or "" (which it does in this case), CompositeAttributeTypeResolver#getExplicitHibernateTypeName uses the enum resolver's name ("...EnumType").

At no point in the sequence is MetadataImpl#getTypeDefinition called to get the @TypeDefs

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira