@SuppressWarnings("unchecked")
public Collection<Object> lookup(String id, Map<String, ?> parameters) {
try {
return sqlMapClient.queryForList(id, parameters);
} catch (SQLException e) {
throw new DaoException("Exception throw while executing query with statement id '" + id + "' and parameters '" + parameters + "'", e);
}
}