1.

Which of the following method is used inside session only?(a) merge()(b) update()(c) end()(d) kill()The question was asked during an interview for a job.This question is from Hibernate in section Autoboxing & Miscellaneous of Java

Answer» RIGHT choice is (B) update()

Explanation: update() METHOD can only be used INSIDE SESSION. update() should be used if session does not contain persistent object.


Discussion

No Comment Found

Related InterviewSolutions