NHibernate second-level caching - evicting regions

后端 未结 2 1776
逝去的感伤
逝去的感伤 2021-01-06 00:47

We have a number of cache regions set up in our nHibernate implementation. In order to avoid trouble with load balanced web servers, I want to effectively disable the cachin

2条回答
  •  执笔经年
    2021-01-06 01:22

    OK, looks like i've answered my own question. The default interface that's returned when you pull out the nHibernate metadata doesn't provide information on caching, however if you dig around in the implementations of it, it does. A bit clumsy, but it does the job.

提交回复
热议问题