• Post Reply Bookmark Topic Watch Topic
  • New Topic

hibernate session.evict

 
Praveen Seluka
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

Whether session.evict always removes the object from the persistent context.
Whether anyone has come across any case in which it fails and the object still remains in the persistance context.

Thanks
praveen SP
 
Praveen Seluka
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across second level cache in some forums.
Whether evict method removews the object from the second level cache also.
Any help
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!