Fix issue using explicitSourceAlias as SqlAliasBase, explicit alias starting with a _ char causes failures for Oracle, Derby and Db2 databases
This commit is contained in:
parent
3de89577f8
commit
cf449a986e
|
@ -849,8 +849,7 @@ public class ToOneAttributeMapping
|
|||
SqlAliasBaseGenerator aliasBaseGenerator,
|
||||
SqlExpressionResolver sqlExpressionResolver,
|
||||
SqlAstCreationContext creationContext) {
|
||||
final String aliasRoot = explicitSourceAlias == null ? sqlAliasStem : explicitSourceAlias;
|
||||
final SqlAliasBase sqlAliasBase = aliasBaseGenerator.createSqlAliasBase( aliasRoot );
|
||||
final SqlAliasBase sqlAliasBase = aliasBaseGenerator.createSqlAliasBase( sqlAliasStem );
|
||||
final LazyTableGroup lazyTableGroup = new LazyTableGroup(
|
||||
navigablePath,
|
||||
() -> createTableGroupJoinInternal(
|
||||
|
|
Loading…
Reference in New Issue