eu.etaxonomy.cdm.database.DataSourceBeanLoader\r
\r
-->\r
- <!-- The property defaultDatasourceName defaults to "default" \r
- <property name="beanDefinitionFile" value="datasources-p6spy.xml" />\r
- <property name="defaultDatasourceName" value="cichorieae" />\r
- -->\r
</bean>\r
\r
<!-- This configures default properties, which can overridden with the file specified by the location property -->\r
\r
(1)\r
Do NOT specify the dataSource in the sessionFactory for example in the \r
- org.springframework.orm.hibernate3.LocalSessionFactoryBean\r
+ org.springframework.orm.hibernate5.LocalSessionFactoryBean\r
!!!==> If *dataSource* is set, this will override corresponding settings in Hibernate properties.!!!\r
If this is set, the Hibernate settings should not define a connection provider to \r
avoid meaningless double configuration.\r
All other properties must be defined as usual in a c3p0.properties file. \r
This is confusing, and will hopefully be simplified some time in the future, but for now... \r
\r
+ DOUMENTATION UPDATE (2015-05-22):\r
+ Hibernate's C3P0ConnectionProvider renames 7 c3p0 configuration properties, which, \r
+ if set in your hibernate configuration, will override any configuration you may have set \r
+ in a c3p0.properties file.\r
+ TODO: are points (2) and (3) still valid? I don't think so! (AK)\r
+ \r
+ \r
hibernate.c3p0.acquire_increment\r
hibernate.c3p0.idle_test_period\r
hibernate.c3p0.timeout\r
</property>\r
</bean>\r
\r
-</beans>
\ No newline at end of file
+</beans>\r