#925 - Change generated SQL for H2, Postgres and MySql to not use column alias'

This commit is contained in:
Rob Bygrave committed 2016-12-20 21:30:00 +13:00
1 parent ab2d5fb4c8
commit 7e2be20b6e
4 files changed
+4 -1

No files matched your search

@@ -60,7 +60,7 @@ class DefaultDbSqlContext implements DbSqlContext {
this.alias = alias;
this.tableAliasPlaceHolder = builder.tableAliasPlaceHolder;
this.columnAliasPrefix = builder.columnAliasPrefix;
this.useColumnAlias = alwaysUseColumnAlias;
this.useColumnAlias = columnAliasPrefix != null && alwaysUseColumnAlias;
this.draftSupport = draftSupport;
this.historySupport = historySupport;
this.historyQuery = (historySupport != null);