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

Norman Richards norman.richards at jboss.com
Sun Feb 18 14:57:58 EST 2007


  User: nrichards
  Date: 07/02/18 14:57:58

  Modified:    examples/spring/resources   import.sql spring-beans.xml
  Log:
  add em test
  
  Revision  Changes    Path
  1.2       +22 -0     jboss-seam/examples/spring/resources/import.sql
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: import.sql
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/spring/resources/import.sql,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- import.sql	21 Jan 2007 07:36:15 -0000	1.1
  +++ import.sql	18 Feb 2007 19:57:58 -0000	1.2
  @@ -0,0 +1,22 @@
  +insert into User (username, password, name) values ('gavin', 'foobar', 'Gavin King')
  +insert into User (username, password, name) values ('demo', 'demo', 'Demo User')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (1, 120, 'Marriott Courtyard', 'Tower Place, Buckhead', 'Atlanta', 'GA', '30305', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (2, 180, 'Doubletree', 'Tower Place, Buckhead', 'Atlanta', 'GA', '30305', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (3, 450, 'W Hotel', 'Union Square, Manhattan', 'NY', 'NY', '10011', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (4, 450, 'W Hotel', 'Lexington Ave, Manhattan', 'NY', 'NY', '10011', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (5, 250, 'Hotel Rouge', '1315 16th Street NW', 'Washington', 'DC', '20036', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (6, 300, '70 Park Avenue Hotel', '70 Park Avenue', 'NY', 'NY', '10011', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (8, 300, 'Conrad Miami', '1395 Brickell Ave', 'Miami', 'FL', '33131', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (9, 80, 'Sea Horse Inn', '2106 N Clairemont Ave', 'Eau Claire', 'WI', '54703', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (10, 90, 'Super 8 Eau Claire Campus Area', '1151 W Macarthur Ave', 'Eau Claire', 'WI', '54701', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (11, 160, 'Marriot Downtown', '55 Fourth Street', 'San Francisco', 'CA', '94103', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (12, 200, 'Hilton Diagonal Mar', 'Passeig del Taulat 262-264', 'Barcelona', 'Catalunya', '08019', 'Spain')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (13, 210, 'Hilton Tel Aviv', 'Independence Park', 'Tel Aviv', '', '63405', 'Israel')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (14, 240, 'InterContinental Tokyo Bay', 'Takeshiba Pier', 'Tokyo', '', '105', 'Japan')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (15, 130, 'Hotel Beaulac', ' Esplanade Léopold-Robert 2', 'Neuchatel', '', '2000', 'Switzerland')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (16, 140, 'Conrad Treasury Place', 'William & George Streets', 'Brisbane', 'QLD', '4001', 'Australia')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (17, 230, 'Ritz Carlton', '1228 Sherbrooke St', 'West Montreal', 'Quebec', 'H3G1H6', 'Canada')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (18, 460, 'Ritz Carlton', 'Peachtree Rd, Buckhead', 'Atlanta', 'GA', '30326', 'USA')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (19, 220, 'Swissotel', '68 Market Street', 'Sydney', 'NSW', '2000', 'Australia')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (20, 250, 'Meliá White House', 'Albany Street', 'Regents Park London', '', 'NW13UP', 'Great Britain')
  +insert into Hotel (id, price, name, address, city, state, zip, country) values (21, 210, 'Hotel Allegro', '171 West Randolph Street', 'Chicago', 'IL', '60601', 'USA')
  
  
  
  1.6       +4 -9      jboss-seam/examples/spring/resources/spring-beans.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: spring-beans.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/spring/resources/spring-beans.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- spring-beans.xml	17 Feb 2007 17:40:55 -0000	1.5
  +++ spring-beans.xml	18 Feb 2007 19:57:58 -0000	1.6
  @@ -59,17 +59,12 @@
       <bean id="conversationSeamStringStore" class="org.jboss.seam.example.spring.StringStore" scope="seam.CONVERSATION"
             init-method="init" />
       
  -<!--
  -    <bean id="someSpringBean" class="org.jboss.seam.example.spring.SpringWithSeam"> 
  -        <property name="writer">
  -            <seam:instance name="write"/> 
  -        </property> 
           
  -        <property name="locale">
  -            <seam:instance name="locale"/> 
  +    <bean id="springBookingDao" class="org.jboss.seam.example.spring.SpringBookingDao"> 
  +        <property name="entityManagerFactory">
  +            <seam:instance name="bookingDatabase"/> 
           </property> 
       </bean> 
  --->
   
       <seam:configure-scopes prefix="seam." override="false" />
   </beans>
  
  
  



More information about the jboss-cvs-commits mailing list