sessionFactory.getCurrentSession().saveOrUpdate(vulnerability);
}
@Override
public void delete(Vulnerability vulnerability) {
sessionFactory.getCurrentSession().save(new DeletedVulnerability(vulnerability));
sessionFactory.getCurrentSession().delete(vulnerability);
}