Revision: 4785
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=4785&view=rev
Author: fabiomaulo
Date: 2009-10-18 18:33:28 +0000 (Sun, 18 Oct 2009)
Log Message:
-----------
Fix NH-1525
Modified Paths:
--------------
branches/2.1.x/nhibernate/doc/reference/modules/query_sql.xml
Modified: branches/2.1.x/nhibernate/doc/reference/modules/query_sql.xml
===================================================================
--- branches/2.1.x/nhibernate/doc/reference/modules/query_sql.xml 2009-10-18 18:10:42 UTC (rev 4784)
+++ branches/2.1.x/nhibernate/doc/reference/modules/query_sql.xml 2009-10-18 18:33:28 UTC (rev 4785)
@@ -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.
|