private void doHibernateSimpleDelete() {
System.out.println("##### doHibernateSimpleDelete - Starting ...");
SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
Session session = sessionFactory.openSession();
Student student = new Student();
student.setName("Greg");
session.beginTransaction();
session.save(student);
System.out.println("##### doHibernateSimpleDelete - student saved: name=" + student.getName() + " id=" + student.getStudentId());
session.getTransaction().commit();
session.beginTransaction();
session.delete(student);
session.getTransaction().commit();
System.out.println("##### doHibernateSimpleDelete - student deleted: " + student.getName());
session.close();
}