﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on NH Prof new feature: Superfluous &lt;many-to-one&gt; update</title><description>Ben,
  
There is a high likelyhood that it would,as a matter of fact.
  
Never tested it, though.
</description><link>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment7</link><guid>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment7</guid><pubDate>Wed, 21 Jan 2009 12:52:13 GMT</pubDate></item><item><title>Ben commented on NH Prof new feature: Superfluous &lt;many-to-one&gt; update</title><description>Does this profiler work with the Java version of Hibernate?
</description><link>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment6</link><guid>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment6</guid><pubDate>Wed, 21 Jan 2009 10:35:00 GMT</pubDate></item><item><title>Ayende Rahien commented on NH Prof new feature: Superfluous &lt;many-to-one&gt; update</title><description>Yes.
</description><link>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment5</link><guid>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment5</guid><pubDate>Mon, 19 Jan 2009 00:32:44 GMT</pubDate></item><item><title>Stefan commented on NH Prof new feature: Superfluous &lt;many-to-one&gt; update</title><description>"The fix is literally just specifying inverse=’true’ on the 
&lt;many-to-one association."
  
  
Am I missing something here or just miss reading it, say in my example Inverse="true" goes on my set mapping:
  
  
&lt;set  
  
This is the correct side right? I think of this as the one-to-many side but I may have just misinterpreted my definitions :).
  
  
  
  
Cheers
  
Stefan
&gt;</description><link>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment4</link><guid>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment4</guid><pubDate>Mon, 19 Jan 2009 00:21:35 GMT</pubDate></item><item><title>Dave commented on NH Prof new feature: Superfluous &lt;many-to-one&gt; update</title><description>I really like the alerts NHProf is getting. So far, profiling (such as JetBrains dotTrace or RedGate ants) usually 'pauses' the moment the application (or depended component) performs a database query. All we know is that DbCommand.ExecuteQuery took 120ms. We offen tent to try to minimize those performance bumps. Because we are confidant that our queries are very optimized, that those areas are usually skipped during profiling sessions. Most developers use tools like Microsoft query analyzer to see if they have made the proper indexes.
  
  
Because the update is unnecessary, such a alert can be a  (literally) real time safer when you're dealing with a customer &lt;--&gt; order association where both tables have more than 10 million records. 
  
  
In today's applications databases play an important part. Compared to the profilers mentioned above 200 (or less) euros for a query profiler/debugger/optimizer is a very good bargain. A must have for every .net developer!
</description><link>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment3</link><guid>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment3</guid><pubDate>Sun, 18 Jan 2009 15:31:10 GMT</pubDate></item><item><title>Kenny Eliasson commented on NH Prof new feature: Superfluous &lt;many-to-one&gt; update</title><description>This is awesome! One of the first issues I believe anyone has with NHibernate is the mapping of collections. Great work! Keep it up
</description><link>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment2</link><guid>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment2</guid><pubDate>Sun, 18 Jan 2009 13:31:42 GMT</pubDate></item><item><title>Tobin Harris commented on NH Prof new feature: Superfluous &lt;many-to-one&gt; update</title><description>Great feature! I love the direction this is taking, and that NHProf can start to actually *teach* people useful information about NHibernate. That also gives them 2 reasons to buy your product - to help find possible performance problems and also to *learn* how to resolve them.
  
  
</description><link>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment1</link><guid>http://ayende.com/3821/nh-prof-new-feature-superfluous-many-to-one-update#comment1</guid><pubDate>Sun, 18 Jan 2009 11:16:11 GMT</pubDate></item></channel></rss>