Use hibernate better

Been playing around with hibernate. An HQL delete query is not the way
to do things; it's better to manipulate the objects and let Hibernate do
everything for you.