nHibernate Entity Caching

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
SteveB
Posts: 3
Joined: Fri 22 Jul 2011 09:29

nHibernate Entity Caching

Post by SteveB » Wed 03 Aug 2011 04:49

I'm no expert on second level entity caching in nHibernate so was reading this article this morning on how to implement it:

http://nhforge.org/blogs/nhibernate/arc ... cache.aspx

The part the interested me was
To enable caching on the entity level, add the following property right below the class definition in the Product.hbm.xml file:


I looked at one of my model classes and couldn't see any settings for this.

Am I missing something! Have you got any samples on how to implement entity caching.

StanislavK
Devart Team
Posts: 1710
Joined: Thu 03 Dec 2009 10:48

Post by StanislavK » Thu 04 Aug 2011 12:08

At the moment, Entity Developer does not provide such functionality. We will consider implementing it, and will post here about the results.

As a temporary workaround, you can specify the caching settings manually in the .xml files.

Post Reply