Update of /cvsroot/hibernate/Hibernate/doc
In directory usw-pr-cvs1:/tmp/cvs-serv29012/doc
Modified Files:
faq.aft faq.aft-TOC faq.html
Log Message:
new doco for 1.2 beta 2
Index: faq.aft
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/doc/faq.aft,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** faq.aft 10 Nov 2002 03:40:54 -0000 1.28
--- faq.aft 14 Nov 2002 12:57:37 -0000 1.29
***************
*** 142,145 ****
--- 142,149 ----
3. use a table-per-concrete-class mapping strategy for the |Transaction| hierarchy
+ *** Hibernate won't read a named query from the mapping file
+
+ You must begin the |CDATA| section _immediately_ after the opening |<query>| tag. Otherwise the XML parser will create an extra node between the |<query>| tag and the |CDATA| section.
+
** tips and tricks
Index: faq.aft-TOC
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/doc/faq.aft-TOC,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** faq.aft-TOC 10 Nov 2002 03:40:54 -0000 1.19
--- faq.aft-TOC 14 Nov 2002 12:57:37 -0000 1.20
***************
*** 19,22 ****
--- 19,23 ----
* {-I'm supplying my own connections to Hibernate and I see exceptions like: "too many opened cursors"@I'm supplying my own connections to Hibernate and I see exceptions like: "too many opened cursors"-}
* {-My class has two one-to-many associations to different subclasses of the same root class, but Hibernate ignores the actual concrete class when loading the associations.@My class has two one-to-many associations to different subclasses of the same root class, but Hibernate ignores the actual concrete class when loading the associations.-}
+ * {-Hibernate won't read a named query from the mapping file@Hibernate won't read a named query from the mapping file-}
* {-tips and tricks@tips and tricks-}
* {-How can I count the number of query results without actually returning them?@How can I count the number of query results without actually returning them?-}
Index: faq.html
===================================================================
RCS file: /cvsroot/hibernate/Hibernate/doc/faq.html,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** faq.html 10 Nov 2002 03:40:54 -0000 1.41
--- faq.html 14 Nov 2002 12:57:37 -0000 1.42
***************
*** 42,45 ****
--- 42,46 ----
<li> <a href="#I'm supplying my own connections to Hibernate and I see exceptions like: "too many opened cursors"">I'm supplying my own connections to Hibernate and I see exceptions like: "too many opened cursors"</a></li>
<li> <a href="#My class has two one-to-many associations to different subclasses of the same root class, but Hibernate ignores the actual concrete class when loading the associations.">My class has two one-to-many associations to different subclasses of the same root class, but Hibernate ignores the actual concrete class when loading the associations.</a></li>
+ <li> <a href="#Hibernate won't read a named query from the mapping file">Hibernate won't read a named query from the mapping file</a></li>
</ul>
<li> <a href="#tips and tricks">tips and tricks</a></li>
***************
*** 262,265 ****
--- 263,271 ----
<li> use a table-per-concrete-class mapping strategy for the <tt>Transaction</tt> hierarchy</li>
</ol>
+ <!--End Section 3-->
+ <h4><a name="Hibernate won't read a named query from the mapping file">Hibernate won't read a named query from the mapping file</a></h4>
+ <p class="Body">
+ You must begin the <tt>CDATA</tt> section <strong>immediately</strong> after the opening <tt><query></tt> tag. Otherwise the XML parser will create an extra node between the <tt><query></tt> tag and the <tt>CDATA</tt> section.
+ </p>
<!--End Section 3-->
<!-- End SectLevel3 -->
|