OPEN - BATCH-845: integration tests for database autodetection

used auto-detection of database in samples configuration
This commit is contained in:
robokaso
2008-09-22 15:39:16 +00:00
parent 798657528d
commit 49cc992efc

View File

@@ -14,10 +14,10 @@
<property name="jobRepository" ref="jobRepository" />
</bean>
<!-- use p:databaseType="${environment}" below if auto-detection does not work -->
<bean id="jobRepository"
class="org.springframework.batch.core.repository.support.JobRepositoryFactoryBean"
p:databaseType="${environment}" p:dataSource-ref="dataSource"
p:transactionManager-ref="transactionManager" />
p:dataSource-ref="dataSource" p:transactionManager-ref="transactionManager" />
<bean id="mapJobRepository"
class="org.springframework.batch.core.repository.support.MapJobRepositoryFactoryBean"