Skip to content

Commit 6c569a5

Browse files
committed
HHH-19985 Fix sub-selection index in anonymous tuple embeddable values
1 parent a42f4a6 commit 6c569a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleEmbeddableValuedModelPart.java

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

0 commit comments

Comments
 (0)