HHH-10222 - AttributeConverter not applied to @ElementCollection

This commit is contained in:
Steve Ebersole 2015-10-28 23:05:35 -05:00
parent 2db30fd455
commit 9390062abc
1 changed files with 4 additions and 1 deletions

View File

@ -327,12 +327,15 @@ public class SimpleValueBinder {
LOG.debugf( "Skipping AttributeConverter checks for Temporal attribute [%s]", property.getName() );
return;
}
if ( key && property.isAnnotationPresent( MapKeyTemporal.class ) ) {
LOG.debugf( "Skipping AttributeConverter checks for map-key annotated as MapKeyTemporal [%s]", property.getName() );
return;
}
if ( !key && property.isAnnotationPresent( Enumerated.class ) ) {
LOG.debugf( "Skipping AttributeConverter checks for Enumerated attribute [%s]", property.getName() );
return;
}
if ( key && property.isAnnotationPresent( MapKeyEnumerated.class ) ) {
LOG.debugf( "Skipping AttributeConverter checks for map-key annotated as MapKeyEnumerated [%s]", property.getName() );
return;