HHH-10222 - AttributeConverter not applied to @ElementCollection

(cherry picked from commit 2db30fd455)
This commit is contained in:
Steve Ebersole 2015-10-28 22:54:04 -05:00
parent 46751f4f7f
commit 7cbb8570c4
1 changed files with 5 additions and 0 deletions

View File

@ -328,6 +328,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;