second-level-cache
Different cache concurrent strategies for root entity and its collection (Hibernate with EHCache)?
Given example from Hibernate docs and modifying it so that root level entity (Customer) is read-only 开发者_如何学Pythonwhile one of its collections (tickets) is read-write:[详细]
2022-12-28 21:43 分类:问答Updating in a REQUIRES_NEW then finding in a different transaction returns old data. Why?
This question is best described by a picture I think.I hope someone can help me.Th开发者_C百科anks[详细]
2022-12-28 15:03 分类:问答Relying on nhibernate's second level cache vs pushing objects into asp.net session
I have some big entities which are frequently accessed in the same session. For example, in my application there is a reporting page which consist of dynamically generated chart images. For each chart[详细]
2022-12-27 02:24 分类:问答How to clear the entire second level cache in NHibernate
I wish to clear the entire second level cache in NHibernate via code.Is there a way to do this which is independe开发者_StackOverflow社区nt of the cache provider being used? (we have customers using b[详细]
2022-12-27 01:36 分类:问答NHibernate 2nd lvl cache, custom query, sqldialect
I got trunk version of NH and FNH. When i try to add 2nd level cache, some parts of NHibernate forgets about chosen sqldialect.[详细]
2022-12-23 00:10 分类:问答Using ASP.NET Caching on top of NHibernate 2nd Level Caching
Should i consider using ASP.NET Caching to cache query result开发者_运维技巧s on top of NHibernate 2nd Level Caching to improve performances ?I think it\'s enough ot NHibernate 2nd level cache. There[详细]
2022-12-21 14:28 分类:问答Which second level cache to select for nHibernate?
I have a Data Service created using WCF that internally uses nHibernate. This WCF Data Service is consumed by an Asp.Net application deployed on Web Server using Tcp Channel.[详细]
2022-12-21 13:33 分类:问答How to know/log whether Hibernate 2nd-level cache was used or not for a query?
Currently, in order to check if the Hibernate 2nd-level cache was used for a Database query, I check my SQL log (through p6spy or logSql=true in Datasource.groovy) to see if the Grais/Hibernate trigge[详细]
2022-12-21 06:46 分类:问答How to use second level cache for lazy loaded collections in Hibernate?
Let\'s say I have two entities, Employee and Skill.Every employee has a set of skills.Now when I load the skills lazily through the Employee instances the cache is not used for skills in different ins[详细]
2022-12-21 00:23 分类:问答NHibernate 2nd level cache provider for NHibernate 2.1.1.4000
I am using s#arp which is built against NHibernate 2.1.1.4000, However I would like to use NHibernate.Caches.SysCache as my second level cache. However the Nhibernate contrib caches are built against[详细]
2022-12-20 15:18 分类:问答