-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not instantiate CacheProvider #774
Comments
Caches are not yet supported with 5.0: nhibernate/NHibernate-Caches#5 |
Alpha versions have been published for SysCache, SysCache2 and RtMemoryCache. Let us now if they are working for you. |
Awesome! After updating the package to alpha I am able to run our website with SysCache enabled. I don't have profiler enabled at the moment so can't see cache hit statements logged but its working now. Last time with old package it was resulting in hard error I posted above. One question. I see that SysCache still needs Iesi.Collections. Aren't they abandoned/obsolete? Can you please expand on the fate of Iesi.Collections. During the upgrade from version 3 to 5 I had to replace Iesi.Collections.ISet with System.Collections.Generic.ISet and so removed the reference completely. Now its back with SysCache alpha so seems like still needed. |
Thanks for having let us know, Iesi is a dependency of NHibernate, and so comes as a dependency of caches too. |
Alright, thanks for the explanation. Looks like lesi collections are going to stay with version 5 too. |
We make use of SysCache as our second level cache provider. After upgrade to version 5.0 its throwing following exception upon Configuration.BuildSessionFactory()
The text was updated successfully, but these errors were encountered: