SPR-5429 Update Pet Clinic to use HSQL as an embedded database

Removing support for running HSQL in stand-alone mode.  Out of the box embedded HSQL and MySQL are supported.
This commit is contained in:
Scott Andrews
2009-01-23 20:52:20 +00:00
parent 16c9391069
commit 300e4d7284
13 changed files with 3 additions and 239 deletions

View File

@@ -4,6 +4,7 @@
# various application context XML files (e.g., "applicationContext-*.xml").
# Targeted at system administrators, to avoid touching the context XML files.
#-------------------------------------------------------------------------------
# Common Settings
@@ -11,8 +12,9 @@ hibernate.generate_statistics=true
hibernate.show_sql=true
jpa.showSql=true
#-------------------------------------------------------------------------------
# HSQL Embedded Settings
# HSQL Settings
jdbc.driverClassName=org.hsqldb.jdbcDriver
jdbc.url=jdbc:hsqldb:mem:petclinic
@@ -34,28 +36,6 @@ jpa.databasePlatform=org.springframework.samples.petclinic.toplink.EssentialsHSQ
# Property that determines which database to use with an AbstractJpaVendorAdapter
jpa.database=HSQL
#-------------------------------------------------------------------------------
# HSQL Settings
#jdbc.driverClassName=org.hsqldb.jdbcDriver
#jdbc.url=jdbc:hsqldb:hsql://localhost:9001
#jdbc.username=sa
#jdbc.password=
# Properties that control the population of schema and data for a new data source
#jdbc.populate=false
#jdbc.schemaLocation=
#jdbc.dataLocation=
# Property that determines which Hibernate dialect to use
# (only applied with "applicationContext-hibernate.xml")
#hibernate.dialect=org.hibernate.dialect.HSQLDialect
# Property that determines which JPA DatabasePlatform to use with TopLink Essentials
#jpa.databasePlatform=org.springframework.samples.petclinic.toplink.EssentialsHSQLPlatformWithNativeSequence
# Property that determines which database to use with an AbstractJpaVendorAdapter
#jpa.database=HSQL
#-------------------------------------------------------------------------------
# MySQL Settings