Hello,

I just noticed that DBColumnJoinExpr.and(...) returns DBJoinExp, not DBColumnJoinExpr. Is this on purpose? DBCommand.join() returns DBColumnJoinExpr.

You can't do:

cmd.join(A.ONE, B.ONE, DBJoinType.LEFT).and(A.TWO, B.TWO).and(A.THREE, B.THREE) [...]

but have to do:

DBColumnJoinExpr j = new DBColumnJoinExpr(A.ONE, B.ONE, DBJoinType.LEFT);
j.and(A.TWO, B.TWO);
j.and(A.THREE, B.THREE);
cmd.join(j);

which is a little bit more clunky IMO.

What do you think? Should we change it?

- jan

Reply via email to