(copying to users list)
How do you do that?
There's a single cache.provider_class setting...
Diego
On Wed, Dec 15, 2010 at 13:04, Fabio Maulo <[email protected]> wrote:
> specify a different provider per region is something I'm doing sincen
> long time; whichnis teh improv you are talkimg about ?
>
> --
> Fabio Maulo
>
>
> El 15/12/2010, a las 10:52, BaldyOwl <[email protected]> escribió:
>
> > Hi,
> >
> > One of the things that has struck me as somewhat restrictive with
> > NHibernate is the fact that you can only have one level 2 cache. I've
> > been looking into how easy it would be to provide support for multiple
> > level 2 caches. This would allow things such as having an in-process
> > level 2 cache, such as ASP.NET, for frequently accessed static data,
> > in addition to an external level 2 cache, such as memcached, for less
> > frequently accessed and possibly dynamic data.
> >
> > I've now actually got something up and running whereby you can specify
> > a different cache provider for each cache region in hibernate.cfg.xml
> > and it seems to work pretty well.
> >
> > Is this something that others would be interested in? Would it
> > improve NHibernate if this became 'standard' ?
> >
> > Cheers,
> > Andy
>