HHH-17285 Fix support for dot-separated map key paths

This commit is contained in:
Marco Belladelli 2023-10-10 12:52:15 +02:00
parent cce5855313
commit 633e6811e4
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ public class MapBinder extends CollectionBinder {
: associatedClass;
final Value indexValue = createFormulatedValue( mapProperty.getValue(), collection, associatedClass, targetEntity );
getMap().setIndex( indexValue );
getMap().setMapKeyPropertyName( mapProperty.getName() );
getMap().setMapKeyPropertyName( mapKeyPropertyName );
}
private CollectionPropertyHolder buildCollectionPropertyHolder(