刚刚接触Java web开发,在做例子的时候发现个问题(使用的是MyEclipse6 )
我在hibernate.cfg.xml中配置了c0p3(只在这里配置)
    <!-- C3P0 -->  
    <property name="hibernate.c3p0.max_size">3</property>  
    <property name="hibernate.c3p0.min_size">2</property>  
    <property name="hibernate.c3p0.timeout">5000</property>  
    <property name="hibernate.c3p0.max_statements">100</property>  
    <property name="hibernate.c3p0.idle_test_period">3000</property>  
    <property name="hibernate.c3p0.acquire_increment">2</property>  
    <property name="hibernate.c3p0.validate">false</property>  
    <property name="hibernate.c3p0.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
启动Tomcat,
提示
WARN C3P0ConnectionProvider:232 - Both hibernate-style property 'hibernate.c3p0.max_size' and c3p0-style property 'c3p0.max_size' have been set in hibernate.properties. Hibernate-style property 'hibernate.c3p0.max_size' will be used and c3p0-style property 'c3p0.max_size' will be ignored!
问下为什么会有这个警告 如何去掉
然后 我故意把工程里的c3p0-0.8.4.5.jar移除 站点居然也能访问 查询操作也能进行 
问下原因(之前不加c0p3 站点是能访问的 为了试下c0p3 在hibernate.cfg.xml多加了那些配置)