On Sep 4, 3:24 am, Paulo Quicoli <[email protected]> wrote:
> hi vijay
>
> can you explain me, please, how to configure bamboo prevalence?
>
> 2009/9/3 V <[email protected]>:
>
I use separate config file for nhibernate to make my applications work
with different databases.

Following are the keys from a config file I am using at the moment. I
have disabled query caching though as it needs more investigation by
me this week-end.

    <add key="cache.provider_class"
value="NHibernate.Caches.Prevalence.PrevalenceCacheProvider,
NHibernate.Caches.Prevalence, Version=2.1.0.4000, Culture=neutral,
PublicKeyToken=aa95f207798dfdb4" />
    <add key="cache.use_second_level_cache" value="true" />
    <!--<add key="cache.use_query_cache" value="true" />-->

Plus download the nhibernate.caches from nhforge and get the following
dlls out of it and put them along with your application:
NHibernate.Caches.Prevalence.dll
Bamboo.Prevalence.dll
Bamboo.Prevalence.Util.dll

It is that simple.
I have tried memcached also and it worked fine. I ran memcached on
linux machine.

Hope that helps.

Vijay
--~--~---------~--~----~------------~-------~--~----~
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