<bean id=\"sessionFactory1\" class=\"org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean\" depends-on=\"annotatedClassRegistrar\"> <property name=\"dataSource\" ref=\"dataSource\"/> <property name=\"annotatedClasses\" ref=\"annotatedClassList\"/> <property name=\"hibernatePropertie1s\"> <props> <prop key=\"c3p0.acquire_increment\">3</prop> <prop key=\"c3p0.idle_test_period\">300</prop> <prop key=\"c3p0.max_size\">15</prop> <prop key=\"c3p0.max_statements\">0</prop> <prop key=\"c3p0.min_size\">3</prop> <prop key=\"c3p0.timeout\">5000</prop> <prop key=\"hibernate.dialect\">${hibernate.dialect}</prop> <prop key=\"hibernate.show_sql\">${hibernate.show_sql}</prop> <prop key=\"hibernate.cglib.use_reflection_optimizer\">true</prop> <prop key=\"hibernate.cache.provider_class\">org.hibernate.cache.HashtableCacheProvider</prop> </props> </property> </bean>