public void destroy(String podatnik) { List<Amodok> lista = amodokFacade.findAmodok(podatnik); Iterator it; it = lista.iterator(); while (it.hasNext()) { Amodok tmp = (Amodok) it.next(); amodokFacade.remove(tmp); } }