Prev Next

Hibernate / Hibernate Caching

Difference Between session.evict vs clear in Hibernate.

evict() evicts a single object from the session. clear() evicts all the objects in the session. Calling clear() is like calling evict() on every object associated with the session.

More Related questions...

Show more question and Answers...


Comments & Discussions