Update datasource configuration in samples/tests
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
<property name="jobRegistry" ref="jobRegistry"/>
|
||||
</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"/>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</batch:step>
|
||||
</batch:job>
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/batch https://www.springframework.org/schema/batch/spring-batch-2.2.xsd
|
||||
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/batch https://www.springframework.org/schema/batch/spring-batch-2.2.xsd
|
||||
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
<bean id="partitioner" class="org.springframework.batch.core.partition.support.SimplePartitioner" />
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/batch https://www.springframework.org/schema/batch/spring-batch-2.2.xsd
|
||||
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans-3.1.xsd http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
<beans:bean id="taskExecutor" class="org.springframework.scheduling.concurrent.ConcurrentTaskExecutor" />
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<beans:bean id="reader" class="org.springframework.batch.core.configuration.xml.TestReader" />
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
<beans:bean id="tasklet" class="org.springframework.batch.core.configuration.xml.TestTasklet" p:name="bar"/>
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/batch https://www.springframework.org/schema/batch/spring-batch.xsd http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
<property name="jobRepository" ref="jobRepository"/>
|
||||
</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"/>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
xmlns:jdbc="http://www.springframework.org/schema/jdbc"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/batch http://www.springframework.org/schema/batch/spring-batch.xsd http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
<property name="jobRepository" ref="jobRepository"/>
|
||||
</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"/>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<property name="jobRepository" ref="jobRepository"/>
|
||||
</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"/>
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<property name="jobRepository" ref="jobRepository"/>
|
||||
</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"/>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<property name="jobRepository" ref="jobRepository"/>
|
||||
</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"/>
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
<property name="jobRepository" ref="jobRepository"/>
|
||||
</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"/>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<property name="jobRepository" ref="jobRepository"/>
|
||||
</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"/>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<property name="targetMethod" value="println"/>
|
||||
</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"/>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<property name="targetMethod" value="println"/>
|
||||
</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"/>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
http://www.springframework.org/schema/batch https://www.springframework.org/schema/batch/spring-batch.xsd
|
||||
http://www.springframework.org/schema/jdbc http://www.springframework.org/schema/jdbc/spring-jdbc.xsd">
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
</decision>
|
||||
</job>
|
||||
|
||||
<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"/>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
</step>
|
||||
</job>
|
||||
|
||||
<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"/>
|
||||
|
||||
Reference in New Issue
Block a user