You mean a singleton ?

Selon Krishna Jetti <[email protected]>:

> Not exactly.....I am looking to actually store in the session factory
> in the cache. So that when ever there is a request to open the
> session, I read the session factory from the cache and open a session
> for it.
>
> What I am trying to figure out is...do we have to follow conventional
> caching techniques or is there anything in the NH that allows to cache
> the session factory?
>
> Thanks
>
> On Aug 27, 9:19 am, Gustavo Ringel <[email protected]> wrote:
> > I think this is what you are looking for:
> >
> > http://devlicio.us/blogs/tuna_toksoz/archive/2009/03/14/an-improvemen...
> >
> > On Fri, Aug 27, 2010 at 4:14 PM, Krishna Jetti
> <[email protected]>wrote:
> >
> >
> >
> > > Hello All,
> >
> > >   Is it possible to cache the session factory using any of the
> > > available cache providers for NH2.1.2. I understand that any entities
> > > related to session factory can be cached but is there a way to
> > > configure NH to cache the session factory it self
> >
> > > Thanks
> >
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "nhusers" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > >
> [email protected]<nhusers%[email protected]­>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/nhusers?hl=en.- Hide quoted text -
> >
> > - Show quoted text -
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to