mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-10222 - AttributeConverter not applied to @ElementCollection
This commit is contained in:
parent
2db30fd455
commit
9390062abc
@ -327,12 +327,15 @@ private void applyAttributeConverter(XProperty property, AttributeConverterDescr
|
|||||||
LOG.debugf( "Skipping AttributeConverter checks for Temporal attribute [%s]", property.getName() );
|
LOG.debugf( "Skipping AttributeConverter checks for Temporal attribute [%s]", property.getName() );
|
||||||
return;
|
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 ) ) {
|
if ( !key && property.isAnnotationPresent( Enumerated.class ) ) {
|
||||||
LOG.debugf( "Skipping AttributeConverter checks for Enumerated attribute [%s]", property.getName() );
|
LOG.debugf( "Skipping AttributeConverter checks for Enumerated attribute [%s]", property.getName() );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( key && property.isAnnotationPresent( MapKeyEnumerated.class ) ) {
|
if ( key && property.isAnnotationPresent( MapKeyEnumerated.class ) ) {
|
||||||
LOG.debugf( "Skipping AttributeConverter checks for map-key annotated as MapKeyEnumerated [%s]", property.getName() );
|
LOG.debugf( "Skipping AttributeConverter checks for map-key annotated as MapKeyEnumerated [%s]", property.getName() );
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user