150151152153154155156157
return Finding.class; } @Override public void delete(Finding finding) { sessionFactory.getCurrentSession().save(new DeletedFinding(finding)); sessionFactory.getCurrentSession().delete(finding); }