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 evict' - 2 question(s) found - Order By Rating | ||||
| ||||
| Ans. It is used to dissociate / disconnect a particular object from the session. | ||||
| ||||
| Ans. session.clear clears all the objects from session whereas session.evict is used for evicting a particular entity. | ||||