[seam-commits] Seam SVN: r7313 - branches/Seam_2_0/doc/reference/en/modules.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Jan 30 13:45:00 EST 2008


Author: dan.j.allen
Date: 2008-01-30 13:45:00 -0500 (Wed, 30 Jan 2008)
New Revision: 7313

Modified:
   branches/Seam_2_0/doc/reference/en/modules/hsearch.xml
Log:
Additional typographical changes to Hibernate Search section


Modified: branches/Seam_2_0/doc/reference/en/modules/hsearch.xml
===================================================================
--- branches/Seam_2_0/doc/reference/en/modules/hsearch.xml	2008-01-30 18:37:56 UTC (rev 7312)
+++ branches/Seam_2_0/doc/reference/en/modules/hsearch.xml	2008-01-30 18:45:00 UTC (rev 7313)
@@ -34,9 +34,9 @@
     <filename>META-INF/persistence.xml</filename> or
     <filename>hibernate.cfg.xml</filename> file.</para>
 
-    <para>Hibernate Search configuration has sensible defaults for most
-    configuration parameters, Here is a description of the minimal
-    configuration to get started.</para>
+	<para>Hibernate Search configuration has sensible defaults for most
+	configuration parameters. Here is a minimal persistence unit configuration
+	to get started.</para>
 
     <programlisting>   &lt;persistence-unit name="sample"&gt;
       &lt;jta-data-source&gt;java:/DefaultDS&lt;/jta-data-source&gt;
@@ -150,7 +150,8 @@
     <para>If the Java Persistence API is used, a smoother integration is
     proposed.</para>
 
-    <programlisting>@Name("search")
+    <programlisting>@Stateful
+ at Name("search")
 public class FullTextSearchAction implements FullTextSearch, Serializable
 {   
    @In
@@ -174,8 +175,8 @@
     same way <classname>FullTextSession</classname> extends
     <classname>Session</classname>.</para>
 
-    <para>When an EJB 3.0 Session or Message Driven Bean injection is used (ie
-    Bean using @PersistenceContext), it is not possible to replace the
+    <para>When an EJB 3.0 Session or Message Driven Bean injection is used (i.e.
+    via the @PersistenceContext annotation), it is not possible to replace the
     <classname>EntityManager</classname> interface by the
     <classname>FullTextEntityManager</classname> interface in the declaration
     statement. However, the implementation injected will be a




More information about the seam-commits mailing list