Delete all objects returned by the query. Return the number of objects deleted.
Note that this is very different from the delete-statement support added in HQL since 3.1. The functionality here is to actually peform the query and then iterate the results calling Session.delete(Object) individually.
Moreover, this method is available on org.hibernate.classic.Session object and not org.hibernate.Session