tag:blogger.com,1999:blog-11160305.post3951574615927133766..comments2023-12-31T09:44:31.875+05:30Comments on Solution: NHibernate flushYogeehttp://www.blogger.com/profile/09194279800230653446noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-11160305.post-29230292324367051312008-08-14T20:50:00.000+05:302008-08-14T20:50:00.000+05:30Ok.. googled and found this: http://www.hibernate....Ok.. googled and found this: http://www.hibernate.org/hib_docs/reference/en/html/performance.html chapter 19.3. <BR/><BR/>It says,<BR/>we sessionFactory.evict is for second-level cache.Yogeehttps://www.blogger.com/profile/09194279800230653446noreply@blogger.comtag:blogger.com,1999:blog-11160305.post-30693516627184387942008-08-14T20:46:00.000+05:302008-08-14T20:46:00.000+05:30I believe Session.Clear() 'evicts' all in Session ...I believe Session.Clear() 'evicts' all in Session level cache objects.Yogeehttps://www.blogger.com/profile/09194279800230653446noreply@blogger.comtag:blogger.com,1999:blog-11160305.post-12860201842384182572008-07-10T21:36:00.000+05:302008-07-10T21:36:00.000+05:30Does ISession.Clear() removes all objects from all...Does ISession.Clear() removes all objects from all cache or only from first level cache (and leaves collections)?s3kvir pasconhttps://www.blogger.com/profile/05148900903016436365noreply@blogger.com