HHH-17159 java.lang.StackOverflowError during Update on Entity with Embeddable and JSON

This commit is contained in:
Andrea Boriero 2023-09-07 16:10:03 +02:00 committed by Andrea Boriero
parent 8538781414
commit 1cc7def6f9
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class AggregateColumnAssignmentHandler {
final EmbeddableMappingType embeddableMappingType = (EmbeddableMappingType) mappedType;
final SelectableMapping aggregateMapping = embeddableMappingType.getAggregateMapping();
if ( aggregateMapping == null ) {
collectRootAggregates( rootAggregates, mappingType );
collectRootAggregates( rootAggregates, embeddableMappingType );
}
else {
rootAggregates.put( aggregateMapping.getSelectablePath(), embeddableMappingType );