Hi everybody.
I'm trying to configure Spring Batch Admin to use my MySQL instance but it's not working. I'm trying to customize the sample application.
According to the official documentation I need to create a file named batch-mysql.properties AND pass a system property like -DENVIRONMENT=[mysql] OR I have the option to write a spring configuration file under META-INF/spring/batch/override/app-context.xml like this:
I'm building the application using its pom (mvn clean install) and it's still using hsql db!Code:<context:property-placeholder location="classpath:jdbc.properties" ignore-unresolvable="true" /> <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close" p:driverClassName="${jdbc.driverClassName}" p:url="${jdbc.url}" p:username="${jdbc.username}" p:password="${jdbc.password}" />
What am I missing?
Please help me!
Thanks.


Reply With Quote