[jboss-cvs] jboss-seam/examples/spring/resources/WEB-INF ...

Norman Richards norman.richards at jboss.com
Tue Feb 20 17:14:18 EST 2007


  User: nrichards
  Date: 07/02/20 17:14:18

  Modified:    examples/spring/resources/WEB-INF   components.xml
  Removed:     examples/spring/resources/WEB-INF   components.xml.bak
  Log:
  switch from hibernate to jpa
  
  Revision  Changes    Path
  1.7       +20 -21    jboss-seam/examples/spring/resources/WEB-INF/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/spring/resources/WEB-INF/components.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- components.xml	20 Feb 2007 00:21:09 -0000	1.6
  +++ components.xml	20 Feb 2007 22:14:18 -0000	1.7
  @@ -2,20 +2,19 @@
   <components xmlns="http://jboss.com/products/seam/components"
               xmlns:core="http://jboss.com/products/seam/core"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  -            xsi:schemaLocation=
  -                "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd 
  +            xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd 
                    http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd">
   
  -    <core:init debug="true"/>    
   
       <core:manager conversation-timeout="120000" 
                     concurrent-request-timeout="500"
                     conversation-id-parameter="cid"
                     conversation-is-long-running-parameter="clr"/>
                     
  -    <core:hibernate-session-factory name="hibernateSessionFactory"/>
  +    <core:managed-persistence-context name="entityManager"
  +                                      auto-create="true" 
  +                                      persistence-unit-jndi-name="java:/springEntityManagerFactory" />
       
  -    <core:managed-hibernate-session name="bookingDatabase"
  -                                    auto-create="true"/>
  +    <core:init debug="true"/>
       
   </components>
  
  
  



More information about the jboss-cvs-commits mailing list