first-level-cache

Managing entities in NHibernate 1st level cache

What's the proper way to manage persisted entities in the 1st level cache during thread/session lifetime? Actually, there is only one or two persisted instances per thread (session) that should be present at all times, for referencing them from other (transient) entities before saving. Since I need to clear the session cache every once ...