/** * For the root node there is no join type or on clause etc. */ @Override public SqlJoinType appendFromBaseTable(DbSqlContext ctx, SqlJoinType joinType) { ctx.append(baseTable); ctx.append(" ").append(baseTableAlias); ctx.appendFromForUpdate(); if (includeJoin != null) { String a1 = baseTableAlias; String a2 = "int_"; // unique alias for intersection join includeJoin.addJoin(joinType, a1, a2, ctx); } return joinType; }
/** * For the root node there is no join type or on clause etc. */ @Override public SqlJoinType appendFromBaseTable(DbSqlContext ctx, SqlJoinType joinType) { ctx.append(baseTable); ctx.append(" ").append(baseTableAlias); ctx.appendFromForUpdate(); if (includeJoin != null) { String a1 = baseTableAlias; String a2 = "int_"; // unique alias for intersection join includeJoin.addJoin(joinType, a1, a2, ctx); } return joinType; }