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:
This question is best described by a picture I think.I hope someone can help me.Th开发者_C百科anks
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
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
I got trunk version of NH and FNH. When i try to add 2nd level cache, some parts of NHibernate forgets about chosen sqldialect.
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
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.
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
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
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