Skip to content

Commit 7cbb429

Browse files
BidyadharMejannett
authored andcommitted
HHH-17404 : Since thhe UUID is stored as string , retrieve it accordingly.
1 parent 2b169c0 commit 7cbb429

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/aggregate/OracleAggregateSupport.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,12 +209,10 @@ public String aggregateComponentCustomReadExpression(
209209
);
210210
}
211211
case UUID:
212-
if (this.dateTypesStoreAsString) {
213-
return template.replace(
214-
placeholder,
215-
"hextoraw(replace(json_value(" + parentPartExpression + columnExpression + "'),'-',''))"
216-
);
217-
}
212+
return template.replace(
213+
placeholder,
214+
"hextoraw(replace(json_value(" + parentPartExpression + columnExpression + "'),'-',''))"
215+
);
218216
case BINARY:
219217
case VARBINARY:
220218
case LONG32VARBINARY:

0 commit comments

Comments
 (0)