Java Basic
-  Which of the following method is used inside session only?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: Aupdate() method can only be used inside session. update() should be used if session does not contain persistent object. 
-  Which of the following methods hits database always?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: Cget() method hits database always. Also, get() method does not return proxy object. 
-  Which of the following methods returns proxy object?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: Dload() method returns proxy object. load() method should be used if it is sure that instance exists. 
-  SessionFactory is a thread-safe object.
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: ASessionFactory is a thread-safe object. Multiple threads can access it simultaneously. 
-  Which of the following is not a core interface of Hibernate?
- 
                        View Hint View Answer Discuss in Forum NA Correct Option: BSessionManagement is not a core interface of Hibernate. Configuration, Criteria, SessionFactory, Session, Query and Transaction are the core interfaces of Hibernate. 
 
	