Hey folks,
I'm using jdbc:embedded-database (type = HSQL) but would like to configure it with extra parameters, e.g.
Here's an excerpt from my configuration:Code:hibernate.connection.hsqldb.default_table_type=cached
Please let me know how to get this property into the HSQL configuration.Code:<bean id="jobRepository" class="org.springframework.batch.core.repository.support.JobRepositoryFactoryBean"> <description> PS jdbc:embedded-database tag spawns an HSQL db by default. Supported databaseType otherwise can be found here: http://static.springsource.org/spring-batch/apidocs/org/springframework/batch/support/DatabaseType.html </description> <property name="dataSource" ref="dataSourceBatch"/> <property name="databaseType" value="HSQL"/> <property name="transactionManager" ref="transactionManager"/> </bean> <jdbc:embedded-database id="dataSourceBatch" type="HSQL"> <jdbc:script location="classpath:batch-jobrepository.sql"></jdbc:script> </jdbc:embedded-database>
Thanks,
Juan


Reply With Quote
