Ehcache在SqlMapConfig.xml打开,在映射文件中配置SqlSessionFactory又Spring管理。代码测试后发现没有使用Ehcache。ehcache要在Spring中配置吗?
http://blog.csdn.net/tzdwsy/article/details/47375483
要在Spring中配置,我是成功了