title: no session.getTransaction method is not there
body: <p>![enter image description here][1]      SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
          Session session = sessionFactory.openSession();
          session.beginTransaction();
          session.save(student);
          session.get
          <img src="https://i.stack.imgur.com/hzxzG.jpg" alt="code error screenshot"></p>
  
  <p>I get this error while I try to call this getTransaction method of session so that I can commit the transaction.how do I rectify this</p>