[jboss-cvs] jboss-seam/examples/dvdstore/resources/META-INF ...

Gavin King gavin.king at jboss.com
Sat Jun 23 18:04:52 EDT 2007


  User: gavin   
  Date: 07/06/23 18:04:52

  Modified:    examples/dvdstore/resources/META-INF   application.xml
                        persistence.xml
  Log:
  Hibernate Search for DVDStore
  
  Revision  Changes    Path
  1.16      +13 -1     jboss-seam/examples/dvdstore/resources/META-INF/application.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: application.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/resources/META-INF/application.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- application.xml	21 Jun 2007 15:32:38 -0000	1.15
  +++ application.xml	23 Jun 2007 22:04:52 -0000	1.16
  @@ -18,7 +18,7 @@
       </module>
       
       <module>
  -        <java>jboss-seam.jar</java>
  +        <ejb>jboss-seam.jar</ejb>
       </module>
   
       <module>
  @@ -29,4 +29,16 @@
           <java>jboss-el.jar</java>
       </module>
       
  +    <module>
  +        <java>lucene-core-2.1.0.jar</java>
  +    </module>
  +    
  +    <module>
  +        <java>hibernate-search.jar</java>
  +    </module>
  +    
  +    <module>
  +        <java>hibernate-commons-annotations.jar</java>
  +    </module>
  +    
   </application>
  
  
  
  1.12      +10 -0     jboss-seam/examples/dvdstore/resources/META-INF/persistence.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: persistence.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/dvdstore/resources/META-INF/persistence.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- persistence.xml	17 Mar 2007 00:35:32 -0000	1.11
  +++ persistence.xml	23 Jun 2007 22:04:52 -0000	1.12
  @@ -14,6 +14,16 @@
            <property name="hibernate.cache.provider_class" 
                      value="org.hibernate.cache.HashtableCacheProvider"/>
   
  +         <!-- use a file system based index -->
  +         <property name="hibernate.search.default.directory_provider" 
  +                  value="org.hibernate.search.store.FSDirectoryProvider"/>
  +         <!-- directory where the indexes will be stored -->
  +         <property name="hibernate.search.default.indexBase" value="./dvdindexes"/>  
  +         <!-- Not needed with HA 3.3 -->
  +         <property name="hibernate.ejb.event.post-insert" value="org.hibernate.search.event.FullTextIndexEventListener"/>
  +         <property name="hibernate.ejb.event.post-update" value="org.hibernate.search.event.FullTextIndexEventListener"/>
  +         <property name="hibernate.ejb.event.post-delete" value="org.hibernate.search.event.FullTextIndexEventListener"/>         
  +         
            <property name="jboss.entity.manager.factory.jndi.name"
                      value="java:/dvdEntityManagerFactory" />
         </properties>
  
  
  



More information about the jboss-cvs-commits mailing list