Revision: 4786
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4786&view=rev
Author: fabiomaulo
Date: 2009-10-18 18:34:12 +0000 (Sun, 18 Oct 2009)
Log Message:
-----------
Fix NH-1525
Modified Paths:
--------------
trunk/nhibernate/doc/reference/modules/query_sql.xml
Modified: trunk/nhibernate/doc/reference/modules/query_sql.xml
===================================================================
--- trunk/nhibernate/doc/reference/modules/query_sql.xml 2009-10-18 18:33:28 UTC (rev 4785)
+++ trunk/nhibernate/doc/reference/modules/query_sql.xml 2009-10-18 18:34:12 UTC (rev 4786)
@@ -330,7 +330,11 @@
The above query will return a list of <literal>CatDTO</literal> which has been instantiated and injected the values of NAME and BIRTHNAME into its corresponding
properties or fields.
</para>
- </sect2>
+ <para>
+ IMPORTANT: The custom <literal>IResultTransformer</literal> should override <literal>Equals</literal> and <literal>GetHashCode</literal>,
+ otherwise the query translation won't be cached. This also will result in memory leak.
+ </para>
+ </sect2>
<sect2>
<title>Handling inheritance</title>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|