Search Interview Questions | ![]() ![]() Click here and help us by providing the answer. ![]() Click Correct / Improve and please let us know. |
|
| ||||
Hibernate - Interview Questions and Answers for 'Hibernate session clear' - 2 question(s) found - Order By Newest | ||||
| ||||
Ans. session.clear clears all the objects from session whereas session.evict is used for evicting a particular entity. | ||||
![]() | ||||
![]() ![]() ![]() | ||||
![]() | ||||
![]() | ||||
![]() | ||||
| ||||
Ans. It is used to clear the session and is used to dissociate disconnect all the objects from the session. | ||||
![]() | ||||
![]() ![]() ![]() | ||||