[nhusers] Re: First-Level cache management

2011-04-10 Thread brendan richards
For a specific, perfomance-hungry data-processing routine then yes, a Stateless session is useful but for me: 1) Stateless Session has no first-level cache at all. That's not really what I want. The cache is useful - it provides a lot of the goodies that make NHibernate powerful. I just want to

[nhusers] Re: First-Level cache management

2011-04-08 Thread Luigi Dallavalle
In those scenarios you described, isn't better to use an IStatelessSession? On 8 Apr, 02:18, brendan richards bren...@openthought.com wrote: Hi all, I'm writing this message to share a bit of code I've put together to give me some useful functions to manage NHibernate's first-level cache.