Home / CSE MCQs / Hibernate-CSE :: Discussion

Discussion :: Hibernate-CSE

  1. Which statement is correct?
  2. A.
    Only the Session that you obtained with sf.getCurrentSession() is flushed and closed automatically
    B.
    Only the Session that you obtained with sf.openSession() is flushed and closed automatically
    C.
    Only the Session that you obtained with sf.getNewSession() is flushed and closed automatically
    D.
    None of the above

    View Answer

    Workspace

    Answer : Option C

    Explanation :



Be The First To Comment