Merge pull request #687 from ghillert/INT-2840
* INT-2840: Fix build failure against Spring 3.0.7 For reference see: https://jira.springsource.org/browse/INT-2840
This commit is contained in:
@@ -61,7 +61,7 @@ abstract class AbstractTxTimeoutMessageStoreTests {
|
||||
final TransactionTemplate transactionTemplate = new TransactionTemplate(transactionManager);
|
||||
|
||||
transactionTemplate.setIsolationLevel(Isolation.READ_COMMITTED.value());
|
||||
transactionTemplate.setPropagationBehavior(TransactionDefinition.PROPAGATION_NEVER);
|
||||
transactionTemplate.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED);
|
||||
|
||||
for (int i = 1; i <= maxMessages; ++i) {
|
||||
final String message = "TEST MESSAGE " + i;
|
||||
|
||||
@@ -24,8 +24,7 @@
|
||||
/> </bean> -->
|
||||
|
||||
<jdbc:initialize-database data-source="dataSource">
|
||||
<jdbc:script
|
||||
location="classpath:org/springframework/integration/jdbc/store/channel/schema-derby.sql" />
|
||||
<jdbc:script location="classpath:org/springframework/integration/jdbc/store/channel/schema-derby.sql" />
|
||||
</jdbc:initialize-database>
|
||||
|
||||
<bean id="queryProvider"
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
</bean>
|
||||
|
||||
<jdbc:initialize-database data-source="dataSource" ignore-failures="DROPS">
|
||||
<jdbc:script execution="INIT" location="classpath:org/springframework/integration/jdbc/store/channel/schema-drop-hsql.sql"/>
|
||||
<jdbc:script execution="INIT" location="classpath:org/springframework/integration/jdbc/store/channel/schema-hsql.sql"/>
|
||||
<jdbc:script location="classpath:org/springframework/integration/jdbc/store/channel/schema-drop-hsql.sql"/>
|
||||
<jdbc:script location="classpath:org/springframework/integration/jdbc/store/channel/schema-hsql.sql"/>
|
||||
</jdbc:initialize-database>
|
||||
|
||||
<bean id="queryProvider" class="org.springframework.integration.jdbc.store.channel.HsqlChannelMessageStoreQueryProvider"/>
|
||||
|
||||
Reference in New Issue
Block a user