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

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   applicationContext.xml
  Removed:     examples/spring/resources   hibernate.cfg.xml
  Log:
  switch from hibernate to jpa
  
  Revision  Changes    Path
  1.3       +4 -5      jboss-seam/examples/spring/resources/applicationContext.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: applicationContext.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/spring/resources/applicationContext.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- applicationContext.xml	19 Feb 2007 23:53:20 -0000	1.2
  +++ applicationContext.xml	20 Feb 2007 22:14:18 -0000	1.3
  @@ -15,13 +15,12 @@
       <!-- XX fix schemaloc -->
   
       <bean id="userService" class="org.jboss.seam.example.spring.UserService">
  -        <property name="session" ref="managedSession"/>
  +        <property name="entityManager" ref="em"/>
       </bean>
   
       <bean id="bookingService" class="org.jboss.seam.example.spring.BookingService">
  -        <property name="session" ref="managedSession"/>
  +        <property name="entityManager" ref="em"/>
       </bean>
  -    <seam:instance id="managedSession" name="bookingDatabase" proxy="true"/>
  -
   
  +    <seam:instance id="em" name="entityManager" proxy="true"/>
   </beans>
  
  
  



More information about the jboss-cvs-commits mailing list