Hi Ivan,

good point. Looks like a (minor) bug.

However this Is just a factory function for a DBJoinExpr.
That means you can easily do the following:

DBJoinExpr joinExpr = new DBJoinExpr(left_expr, right_expr, DBJoinType.INNER);
cmd.join(joinExpr);

I will correct this in the API.

Tx
Rainer


from: Ivan Nemeth [mailto:[email protected]]
to: user
re: DBCommand API Question

Hi,

DBCommand has a method for join:

 public DBJoinExpr join(DBColumnExpr left, DBColumn right, DBJoinType joinType)

Why does this method only accept DBColumn for the right join while you can 
instantiate a DBJoinExpr with DBColumnExpr for both side?

Ivan

Reply via email to