Either you iterate over the entities and call delete for each of them, or build a delete request:
String hql = "delete from Foo f where f.id in :fooIds"; session.createQuery(hql).setParameterList("fooIds", fooIds).executeUpdate();
Be sure to review the limitations and caveats associated with such DML queries. They are described in the documentation .
source share