PathBuilder<String> funcAlias = new PathBuilder<String>(String.class, "tokFunc");
SQLSubQuery sq = new SQLSubQuery();
SubQueryExpression<?> expr = sq.from(table)
.join(func, funcAlias).on(table.name.like(funcAlias.getString("prop")).not()).list(table.name);
Configuration conf = new Configuration(new SQLServerTemplates());
SQLSerializer serializer = new NativeSQLSerializer(conf, true);
serializer.serialize(expr.getMetadata(), false);
assertEquals("select SURVEY.NAME\n" +
"from SURVEY SURVEY\n" +
"join TableValuedFunction(?1) as tokFunc\n" +