Skip to content

Commit e3e11a6

Browse files
committed
Clean up more schema before JDBC tests
https://build.spring.io/browse/INT-FATS5IC-843/ **Cherry-pick to 5.1.x & .5.0.x**
1 parent 06d3213 commit e3e11a6

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/JdbcMessageStoreTests-context.xml

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd">
77

88
<jdbc:embedded-database id="dataSource" type="H2">
9+
<jdbc:script location="org/springframework/integration/jdbc/schema-drop-h2.sql"/>
910
<jdbc:script location="org/springframework/integration/jdbc/schema-h2.sql" />
1011
</jdbc:embedded-database>
1112

spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/store/channel/DataSource-derby-context.xml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
/> </bean> -->
1818

1919
<jdbc:initialize-database data-source="dataSource">
20+
<jdbc:script location="classpath:org/springframework/integration/jdbc/schema-drop-derby.sql" />
2021
<jdbc:script location="classpath:org/springframework/integration/jdbc/schema-derby.sql" />
2122
</jdbc:initialize-database>
2223

0 commit comments

Comments
 (0)