HHH-13619 - Support for JPA's `size` function as a select expression
- Fix to work on Oracle by removing "as" between table name and alias
This commit is contained in:
parent
26ab3c5362
commit
8c6f8025e3
|
@ -74,7 +74,7 @@ public class CollectionSizeNode extends SqlNode implements SelectExpression {
|
|||
final String sizeColumn = sizeColumns[0];
|
||||
|
||||
final StringBuilder buffer = new StringBuilder( "(select " ).append( sizeColumn );
|
||||
buffer.append( " from " ).append( collectionDescriptor.getTableName() ).append( " as " ).append( collectionTableAlias );
|
||||
buffer.append( " from " ).append( collectionDescriptor.getTableName() ).append( " " ).append( collectionTableAlias );
|
||||
buffer.append( " where " );
|
||||
|
||||
boolean firstPass = true;
|
||||
|
|
Loading…
Reference in New Issue