mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 19:58:16 +00:00
HHH-10341 - Fix Specification violation in Implementation of TupleElement
(cherry picked from commit 04f1fcc762377200295b2e6dd316b06a944d219e)
This commit is contained in:
parent
7764358c7f
commit
80e591f064
@ -393,8 +393,7 @@ private void initAliases(SelectExpression[] selectExpressions) {
|
||||
if ( aggregatedSelectExpression == null ) {
|
||||
aliases = new String[selectExpressions.length];
|
||||
for ( int i = 0; i < selectExpressions.length; i++ ) {
|
||||
String alias = selectExpressions[i].getAlias();
|
||||
aliases[i] = alias == null ? Integer.toString( i ) : alias;
|
||||
aliases[i] = selectExpressions[i].getAlias();
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user