Add transactional annotation to delete method.

The delete method has to be readOnly=false, otherwise the entities won't be deleted.