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 ) {
|
if ( aggregatedSelectExpression == null ) {
|
||||||
aliases = new String[selectExpressions.length];
|
aliases = new String[selectExpressions.length];
|
||||||
for ( int i = 0; i < selectExpressions.length; i++ ) {
|
for ( int i = 0; i < selectExpressions.length; i++ ) {
|
||||||
String alias = selectExpressions[i].getAlias();
|
aliases[i] = selectExpressions[i].getAlias();
|
||||||
aliases[i] = alias == null ? Integer.toString( i ) : alias;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue