如题:在SSH框架 整合的时候 遇到 Cannot unwrap to requested type [javax.sql.DataSource] ,这个问题
解决:需要在hibernate.cfg.xml 中配置链接池。我一般是配置C3P0的链接池
<!-- 配置C3P0的连接池 -->
<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>