[hibernate-commits] Hibernate SVN: r11579 - trunk/HibernateExt/search/doc/reference/en/modules.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon May 28 20:22:31 EDT 2007


Author: epbernard
Date: 2007-05-28 20:22:30 -0400 (Mon, 28 May 2007)
New Revision: 11579

Modified:
   trunk/HibernateExt/search/doc/reference/en/modules/configuration.xml
Log:
HSEARCH-39 fix event description examples

Modified: trunk/HibernateExt/search/doc/reference/en/modules/configuration.xml
===================================================================
--- trunk/HibernateExt/search/doc/reference/en/modules/configuration.xml	2007-05-28 02:41:57 UTC (rev 11578)
+++ trunk/HibernateExt/search/doc/reference/en/modules/configuration.xml	2007-05-29 00:22:30 UTC (rev 11579)
@@ -351,7 +351,7 @@
     </section>
   </section>
 
-  <section id="search-configuration-event" revision="1">
+  <section id="search-configuration-event" revision="2">
     <title>Enabling automatic indexing</title>
 
     <para>Automatic indexing is enable out of the box when using Hibernate
@@ -367,7 +367,7 @@
     configuration is not useful with Hibernate Annotations or Hibernate
     EntityManager.</para>
 
-    <programlisting>&lt;hibernate-configuration&gt;
+    <programlisting>&lt;session-factory&gt;
     ...
     &lt;event type="post-update"
         &lt;listener class="org.hibernate.search.event.FullTextIndexEventListener"/&gt;
@@ -378,7 +378,7 @@
     &lt;event type="post-delete"
         &lt;listener class="org.hibernate.search.event.FullTextIndexEventListener"/&gt;
     &lt;/event&gt;
-&lt;/hibernate-configuration&gt;</programlisting>
+&lt;/session-factory&gt;</programlisting>
 
     <para>Be sure to add the appropriate jar files in your classpath. Check
     <literal>lib/README.TXT</literal> for the list of third party libraries. A




More information about the hibernate-commits mailing list