mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-09 04:34:49 +00:00
HHH-17159 java.lang.StackOverflowError during Update on Entity with Embeddable and JSON
This commit is contained in:
parent
a27481a2b3
commit
3c625ead05
@ -64,7 +64,7 @@ private static void collectRootAggregates(
|
|||||||
final EmbeddableMappingType embeddableMappingType = (EmbeddableMappingType) mappedType;
|
final EmbeddableMappingType embeddableMappingType = (EmbeddableMappingType) mappedType;
|
||||||
final SelectableMapping aggregateMapping = embeddableMappingType.getAggregateMapping();
|
final SelectableMapping aggregateMapping = embeddableMappingType.getAggregateMapping();
|
||||||
if ( aggregateMapping == null ) {
|
if ( aggregateMapping == null ) {
|
||||||
collectRootAggregates( rootAggregates, mappingType );
|
collectRootAggregates( rootAggregates, embeddableMappingType );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
rootAggregates.put( aggregateMapping.getSelectablePath(), embeddableMappingType );
|
rootAggregates.put( aggregateMapping.getSelectablePath(), embeddableMappingType );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user