Skip to content

Commit 249180a

Browse files
committed
HHH-19985 Fix sub-selection index in anonymous tuple embeddable values
1 parent 9bb1cfb commit 249180a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/query/sqm/tuple/internal/AnonymousTupleEmbeddableValuedModelPart.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private Map<String, ModelPart> createModelParts(
128128
sqmExpressible,
129129
attributeType,
130130
sqlTypedMappings,
131-
selectionIndex,
131+
selectionIndex + index,
132132
selectionExpression + "_" + attribute.getName(),
133133
attribute.getName(),
134134
modelPartContainer.findSubPart( attribute.getName(), null ),

0 commit comments

Comments
 (0)