Skip to content

Commit 93fc5bf

Browse files
committed
Fix another Derby test in favor of H2
1 parent 5d85f00 commit 93fc5bf

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
http://www.springframework.org/schema/tx https://www.springframework.org/schema/tx/spring-tx.xsd
1515
http://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd">
1616

17-
<jdbc:embedded-database id="dataSource" type="DERBY"/>
17+
<jdbc:embedded-database id="dataSource" type="H2"/>
1818

1919
<jdbc:initialize-database data-source="dataSource">
20-
<jdbc:script location="${int.schema.script}"/>
20+
<jdbc:script location="classpath:/org/springframework/integration/jdbc/schema-h2.sql"/>
2121
</jdbc:initialize-database>
2222

2323
<int-jdbc:message-store id="messageStore" data-source="dataSource"/>
@@ -56,11 +56,6 @@
5656
</tx:attributes>
5757
</tx:advice>
5858

59-
<context:property-placeholder location="int-${ENVIRONMENT:derby}.properties"
60-
system-properties-mode="OVERRIDE"
61-
ignore-unresolvable="true"
62-
order="1"/>
63-
6459
<bean id="transactionManager"
6560
class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
6661
<property name="dataSource" ref="dataSource"/>

0 commit comments

Comments
 (0)