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 d7761cf0d2
commit 4a0faf77ef
No known key found for this signature in database
GPG Key ID: D1D0C3030AE3AA35
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(