Revision ea704d19
Added by Andreas Müller almost 2 years ago
src/main/webapp/WEB-INF/datasources/configurable.xml | ||
---|---|---|
10 | 10 |
<!-- enable processing of annotations such as @Autowired and @Configuration --> |
11 | 11 |
<context:annotation-config/> |
12 | 12 |
|
13 |
<bean class="eu.etaxonomy.cdm.opt.config.DataSourceConfigurer" > |
|
14 |
</bean> |
|
13 |
<bean class="eu.etaxonomy.cdm.opt.config.DataSourceConfigurer"/> |
|
15 | 14 |
|
16 | 15 |
<bean id="jndiHibernateProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean" > |
17 | 16 |
<property name="locations" value="classpath:hibernate.properties"/> |
src/test/resources/mock-webapp/WEB-INF/applicationContext.xml | ||
---|---|---|
44 | 44 |
<prop key="hibernate.show_sql">false</prop> |
45 | 45 |
<prop key="hibernate.format_sql">false</prop> |
46 | 46 |
<prop key="hibernate.search.autoregister_listeners">false</prop> |
47 |
<prop key="hibernate.jdbc.batch_size">0</prop> |
|
47 |
<prop key="hibernate.jdbc.batch_size">0</prop><!-- NOTE AM: needed? batch_size 0 was orginally introduce due to a bug in hsqldb as far as I remember -->
|
|
48 | 48 |
</props> |
49 | 49 |
</property> |
50 | 50 |
</bean> |
src/test/resources/webapp/WEB-INF/applicationContext.xml | ||
---|---|---|
46 | 46 |
<prop key="hibernate.show_sql">false</prop> |
47 | 47 |
<prop key="hibernate.format_sql">false</prop> |
48 | 48 |
<prop key="hibernate.search.autoregister_listeners">false</prop> |
49 |
<prop key="hibernate.jdbc.batch_size">0</prop> |
|
49 |
<prop key="hibernate.jdbc.batch_size">0</prop><!-- NOTE AM: needed? batch_size 0 was orginally introduce due to a bug in hsqldb as far as I remember -->
|
|
50 | 50 |
</props> |
51 | 51 |
</property> |
52 | 52 |
</bean> |
Also available in: Unified diff
cleanup