HHH-10341 - Fix Specification violation in Implementation of TupleElement
(cherry picked from commit 04f1fcc762
)
This commit is contained in:
parent
7764358c7f
commit
80e591f064
|
@ -393,8 +393,7 @@ public class SelectClause extends SelectExpressionList {
|
|||
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…
Reference in New Issue