DBCommand has this:

    /**
     * Adds a list of column expression to the select clause
     *
     * @param columns the column expressions to add
     */
    public void select(Collection<DBColumnExpr> columns)
    {
        for (DBColumnExpr expr : columns)
            select(expr);
    }

    /**
     * Adds a list of column expression to the select clause
     *
     * @param columns the column expressions to add
     */
    public void select(List<DBColumn> columns)
    {
        for (int i = 0; i < columns.size(); i++)
            select(columns.get(i));
    }

Why the second select method if the first one is able to handle both?

-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

Reply via email to