HHH-10222 - AttributeConverter not applied to @ElementCollection

This commit is contained in:
Steve Ebersole 2015-10-28 22:54:04 -05:00
parent 2a99b256b8
commit 2db30fd455
1 changed files with 5 additions and 0 deletions

View File

@ -333,6 +333,11 @@ public class SimpleValueBinder {
return;
}
if ( key && property.isAnnotationPresent( MapKeyEnumerated.class ) ) {
LOG.debugf( "Skipping AttributeConverter checks for map-key annotated as MapKeyEnumerated [%s]", property.getName() );
return;
}
if ( isAssociation() ) {
LOG.debugf( "Skipping AttributeConverter checks for association attribute [%s]", property.getName() );
return;