Update datasource configuration in samples/tests

This commit is contained in:
Mahmoud Ben Hassine
2021-08-17 22:20:08 +02:00
parent 36b63ed283
commit 4b3bcac082
40 changed files with 162 additions and 37 deletions

View File

@@ -76,7 +76,7 @@
<property name="step" ref="step" />
</bean>
<jdbc:embedded-database id="dataSource"/>
<jdbc:embedded-database id="dataSource" generate-name="true"/>
<jdbc:initialize-database>
<jdbc:script location="classpath:/org/springframework/batch/core/schema-drop-hsqldb.sql"/>

View File

@@ -105,7 +105,7 @@
<property name="step" ref="step" />
</bean>
<jdbc:embedded-database id="dataSource"/>
<jdbc:embedded-database id="dataSource" generate-name="true"/>
<jdbc:initialize-database>
<jdbc:script location="classpath:/org/springframework/batch/core/schema-drop-hsqldb.sql"/>

View File

@@ -61,7 +61,7 @@
<property name="step" ref="step" />
</bean>
<jdbc:embedded-database id="dataSource"/>
<jdbc:embedded-database id="dataSource" generate-name="true"/>
<jdbc:initialize-database>
<jdbc:script location="classpath:/org/springframework/batch/core/schema-drop-hsqldb.sql"/>

View File

@@ -7,7 +7,7 @@
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/jdbc https://www.springframework.org/schema/jdbc/spring-jdbc-3.2.xsd">
<jdbc:embedded-database id="dataSource" type="HSQL"/>
<jdbc:embedded-database id="dataSource" generate-name="true" type="HSQL"/>
<jdbc:initialize-database data-source="dataSource">
<jdbc:script location="classpath:/org/springframework/batch/core/schema-drop-hsqldb.sql"/>