[jboss-cvs] jboss-seam/examples/jee5/resources-glassfish ...

Michael Yuan michael.yuan at jboss.com
Tue Jul 10 01:03:16 EDT 2007


  User: myuan   
  Date: 07/07/10 01:03:16

  Added:       examples/jee5/resources-glassfish    import.sql log4j.xml
                        seam.properties
  Log:
  use the new build system
  
  Revision  Changes    Path
  1.1      date: 2007/07/10 05:03:16;  author: myuan;  state: Exp;jboss-seam/examples/jee5/resources-glassfish/import.sql
  
  Index: import.sql
  ===================================================================
  insert into Customer (username, password, name) values ('gavin', 'foobar', 'Gavin King')
  insert into Customer (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.1      date: 2007/07/10 05:03:16;  author: myuan;  state: Exp;jboss-seam/examples/jee5/resources-glassfish/log4j.xml
  
  Index: log4j.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
  
  <!-- ===================================================================== -->
  <!--                                                                       -->
  <!--  Log4j Configuration                                                  -->
  <!--                                                                       -->
  <!-- ===================================================================== -->
  
  <!-- $Id: log4j.xml,v 1.1 2007/07/10 05:03:16 myuan Exp $ -->
  
  <!--
     | For more configuration infromation and examples see the Jakarta Log4j
     | owebsite: http://jakarta.apache.org/log4j
   -->
  
  <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
     
     <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
        <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
        <param name="Target" value="System.out"/>
  
        <layout class="org.apache.log4j.PatternLayout">
           <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{1}] %m%n"/>
        </layout>
     </appender>
  
     <!-- 
     <category name="org.hibernate">
        <priority value="DEBUG"/>
     </category>
     -->
  
     <!-- 
     <category name="org.jboss.seam">
        <priority value="DEBUG"/>
     </category>
     -->
     
     <!-- 
     <category name="org.jboss.ejb3">
        <priority value="DEBUG"/>
     </category>
     -->
  
     <!-- 
     <category name="org.jboss.kernel">
        <priority value="DEBUG"/>
     </category>
     -->
  
     <root>
        <priority value="INFO"/>
        <appender-ref ref="CONSOLE"/>
     </root>
     
  </log4j:configuration>
  
  
  
  1.1      date: 2007/07/10 05:03:16;  author: myuan;  state: Exp;jboss-seam/examples/jee5/resources-glassfish/seam.properties
  
  	<<Binary file>>
  
  



More information about the jboss-cvs-commits mailing list