NH Prof New FeatureDetecting 2nd cache collection loads
I noticed the lack when I was teaching the Core NHibernate course. While NH Prof was able to detect loading of an entity from the second level cache and the loading of query from the query cache, it wouldn’t show when we were loading a collection from the collection cache.
That was actually quite easy to fix :-)
Take a look:
This feature is now available on Build 277 and up.
Have fun, and happy cache tracing :-)
More posts in "NH Prof New Feature" series:
- (09 Dec 2010) Alert on bad ‘like’ query
- (10 Dec 2009) Filter static files
- (16 Nov 2009) Exporting Reports
- (08 Oct 2009) NHibernate Search Integration
- (19 Aug 2009) Multiple Session Factory Support
- (07 Aug 2009) Diffing Sessions
- (06 Aug 2009) Capturing DDL
- (05 Aug 2009) Detect Cross Thread Session Usage
- (22 May 2009) Detecting 2nd cache collection loads
- (15 May 2009) Error Detection
- (12 May 2009) Queries by Url
- (04 Feb 2009) View Query Results
- (18 Jan 2009) Superfluous <many-to-one> update
- (18 Jan 2009) URL tracking
- (10 Jan 2009) Detecting distributed transactions (System.Transactions)
- (06 Jan 2009) The Query Cache
- (05 Jan 2009) Query Duration
- (24 Dec 2008) Unbounded result sets
- (24 Dec 2008) Row Counts
Comments
I assume you meant "This feature is available on Build 277 and up." ;)
Yeah, my most commonly annoying typo
This is my new favorite feature. :)
ayende.com/.../...-2nd-cache-collection-loads.aspx
(BTW, unable to comment in IE8 - having to use Firefox)
Is there a minimum nHib version this works on? I have a client running version 1.2.0.4000.
Kelly,
I am afraid that it is probably limited to 2.x
Kelly,
But if this is really important to you, please contact me via email
Comment preview