getSqlMapClientTemplate().queryForList("getUserRoles", user); user.setRoles(roles);
getSqlMapClientTemplate().queryForList("getUserRoles", user); user.setRoles(new HashSet(roles));
    public List getUsers(User user) {        List users = getSqlMapClientTemplate().queryForList("getUsers", null);        // get the roles for each user        for (int i = 0; i < users.size(); i++) {            user = (User) users.get(i);            List roles =            	getSqlMapClientTemplate().queryForList("getUserRoles", user);            user.setRoles(roles);            users.set(i, user);        }        return users;    }