参考了很多网友的文章和文档.现将Spring+Hibernate+Proxool的配置发表如下: <?xml version="1.0" encoding="UTF-8"?> applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <prop key="hibernate.connection.release_mode">auto</prop> 另外一种配置【很少见】: <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <bean id="sessionFactory" lazy-init ="true" |