and also org.springframework.orm.hibernate3.AbstractSessionFactoryBean.setDataSource(DataSource dataSource)\r
\r
IMPORTANT: \r
- Because of the constraint (1) the org.hibernate.connection.C3P0ConnectionProvider anc not be used \r
+ Because of the constraint (1) the org.hibernate.connection.C3P0ConnectionProvider are not be used \r
for the cdm library because it requires the dataSource bean in some cases. \r
\r
(1)\r
(2)\r
Hibernate uses the hibernate.c3p0.max_size property to determine if c3p0\r
is begin used. Therefore the max_size property MUST be set. - maybe not need in hibernate 3.4 +\r
+ \r
(3) If you are using Hibernate's C3P0ConnectionProvider you must set the following properties \r
in your hibernate configuration, using hibernate-specific configuration keys. \r
All other properties must be defined as usual in a c3p0.properties file. \r