[jboss-cvs] jboss-seam/examples/hibernate/resources-websphere61 ...

Peter Muir peter at bleepbleep.org.uk
Sun Dec 23 14:53:01 EST 2007


  User: pmuir   
  Date: 07/12/23 14:53:01

  Added:       examples/hibernate/resources-websphere61    seam.properties
                        hibernate.cfg.xml import.sql
  Log:
  JBSEAM-2387 and tidy up library usage
  
  Revision  Changes    Path
  1.1      date: 2007/12/23 19:53:01;  author: pmuir;  state: Exp;jboss-seam/examples/hibernate/resources-websphere61/seam.properties
  
  	<<Binary file>>
  
  
  1.1      date: 2007/12/23 19:53:01;  author: pmuir;  state: Exp;jboss-seam/examples/hibernate/resources-websphere61/hibernate.cfg.xml
  
  Index: hibernate.cfg.xml
  ===================================================================
  <!DOCTYPE hibernate-configuration PUBLIC
  	"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
  	"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
  
  <hibernate-configuration>
      <session-factory name="bookingDatabase">
          <property name="show_sql">false</property>
          <property name="connection.datasource">DefaultDatasource</property>
          <property name="hbm2ddl.auto">create-drop</property>
          <property name="cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
          <property name="dialect">GlassfishDerbyDialect</property>
          <property name="transaction.flush_before_completion">true</property>
          <property name="connection.release_mode">after_statement</property>
          <property name="transaction.manager_lookup_class">org.hibernate.transaction.WebSphereTransactionManagerLookup</property>
          <property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
          <mapping class="org.jboss.seam.example.hibernate.Hotel"/>
          <mapping class="org.jboss.seam.example.hibernate.User"/>
          <mapping class="org.jboss.seam.example.hibernate.Booking"/>
      </session-factory>
  </hibernate-configuration>
  
  
  
  1.1      date: 2007/12/23 19:53:01;  author: pmuir;  state: Exp;jboss-seam/examples/hibernate/resources-websphere61/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 (price, name, address, city, state, zip, country) values (120, 'Marriott Courtyard', 'Tower Place, Buckhead', 'Atlanta', 'GA', '30305', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (180, 'Doubletree', 'Tower Place, Buckhead', 'Atlanta', 'GA', '30305', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (450, 'W Hotel', 'Union Square, Manhattan', 'NY', 'NY', '10011', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (450, 'W Hotel', 'Lexington Ave, Manhattan', 'NY', 'NY', '10011', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (250, 'Hotel Rouge', '1315 16th Street NW', 'Washington', 'DC', '20036', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (300, '70 Park Avenue Hotel', '70 Park Avenue', 'NY', 'NY', '10011', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (300, 'Conrad Miami', '1395 Brickell Ave', 'Miami', 'FL', '33131', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (80, 'Sea Horse Inn', '2106 N Clairemont Ave', 'Eau Claire', 'WI', '54703', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (90, 'Super 8 Eau Claire Campus Area', '1151 W Macarthur Ave', 'Eau Claire', 'WI', '54701', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (160, 'Marriot Downtown', '55 Fourth Street', 'San Francisco', 'CA', '94103', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (200, 'Hilton Diagonal Mar', 'Passeig del Taulat 262-264', 'Barcelona', 'Catalunya', '08019', 'Spain')
  insert into Hotel (price, name, address, city, state, zip, country) values (210, 'Hilton Tel Aviv', 'Independence Park', 'Tel Aviv', '', '63405', 'Israel')
  insert into Hotel (price, name, address, city, state, zip, country) values (240, 'InterContinental Tokyo Bay', 'Takeshiba Pier', 'Tokyo', '', '105', 'Japan')
  insert into Hotel (price, name, address, city, state, zip, country) values (130, 'Hotel Beaulac', ' Esplanade Lopold-Robert 2', 'Neuchatel', '', '2000', 'Switzerland')
  insert into Hotel (price, name, address, city, state, zip, country) values (140, 'Conrad Treasury Place', 'William & George Streets', 'Brisbane', 'QLD', '4001', 'Australia')
  insert into Hotel (price, name, address, city, state, zip, country) values (230, 'Ritz Carlton', '1228 Sherbrooke St', 'West Montreal', 'Quebec', 'H3G1H6', 'Canada')
  insert into Hotel (price, name, address, city, state, zip, country) values (460, 'Ritz Carlton', 'Peachtree Rd, Buckhead', 'Atlanta', 'GA', '30326', 'USA')
  insert into Hotel (price, name, address, city, state, zip, country) values (220, 'Swissotel', '68 Market Street', 'Sydney', 'NSW', '2000', 'Australia')
  insert into Hotel (price, name, address, city, state, zip, country) values (250, 'Meli White House', 'Albany Street', 'Regents Park London', '', 'NW13UP', 'Great Britain')
  insert into Hotel (price, name, address, city, state, zip, country) values (210, 'Hotel Allegro', '171 West Randolph Street', 'Chicago', 'IL', '60601', 'USA')
  
  
  



More information about the jboss-cvs-commits mailing list