+ move jdbc scripts from META-INF into /resources
This commit is contained in:
Costin Leau 2009-11-25 19:27:08 +00:00 committed by Mic
parent 521d01db95
commit c0b90bf9ef
5 changed files with 6 additions and 4 deletions

View file

@ -3,7 +3,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.samples</groupId>
<artifactId>org.springframework.samples.petclinic</artifactId>
<artifactId>petclinic-classic</artifactId>
<name>petclinic-classic</name>
<packaging>war</packaging>
<version>1.0.0-SNAPSHOT</version>
@ -43,6 +43,7 @@
<groupId>javax.servlet</groupId>
<artifactId>com.springsource.javax.servlet.jsp.jstl</artifactId>
<version>1.2.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
@ -68,6 +69,7 @@
<groupId>org.apache.taglibs</groupId>
<artifactId>com.springsource.org.apache.taglibs.standard</artifactId>
<version>1.1.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>

View file

@ -23,9 +23,9 @@ jdbc.password=
# Properties that control the population of schema and data for a new data source
jdbc.populate=true
jdbc.schemaLocation=classpath:/META-INF/hsqldb/initDB.txt
jdbc.dataLocation=classpath:/META-INF/hsqldb/populateDB.txt
jdbc.dropLocation=classpath:/META-INF/hsqldb/dropTables.txt
jdbc.schemaLocation=classpath:hsqldb/initDB.txt
jdbc.dataLocation=classpath:hsqldb/populateDB.txt
jdbc.dropLocation=classpath:hsqldb/dropTables.txt
# Property that determines which Hibernate dialect to use
# (only applied with "applicationContext-hibernate.xml")