摘要: Mybatis一级、二级缓存一级缓存首先做一个测试,创建一个mapper配置文件和mapper接口,我这里用了最简单的查询来演示。 public interface UserMapper { List findUsers()throws Exception;}然后编写一个单元测试publ... 阅读全文
posted @ 2016-01-22 10:02 孤独青鸟 阅读(362) 评论(0) 推荐(0) 编辑