2016年9月20日
摘要: 1、什么是SpringMvc? SpringMvc是spring的一个模块 基于MVC的一个框架 无需中间整合层来整合 什么是MVC ?mvc在b/s下的应用: 首先请求发送request请求到C(control 接收用户请求响应用户) 然后控制器到M模型(pojo、action、service、d 阅读全文
posted @ 2016-09-20 20:53 Lightt 阅读(41463) 评论(0) 推荐(1) 编辑
摘要: 什么是延迟加载? resultMap可以实现高级映射 (对查询结果有特殊要求的 association、collection)association、collection可以实现延迟加载功能。 需求: 如果查询用户订单并且关联查询用户信息。如果先查询订单信息就可满足需求,当我们需要用户信息的时候再查 阅读全文
posted @ 2016-09-20 20:42 Lightt 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 错误代码: org.apache.ibatis.exceptions.PersistenceException: ### Error building SqlSession.### The error may exist in com/jkw100/mybatis/mapper/PatientMap 阅读全文
posted @ 2016-09-20 17:51 Lightt 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: MyEclipse下Junit运行测试用例的时候报错: "The input type of the launch configuration does not exist"原因是test下的包全部变成了文件夹,不能 是普通的文件夹 需要改成Source Folder 才行解决:选中test,右键, 阅读全文
posted @ 2016-09-20 14:06 Lightt 阅读(3819) 评论(0) 推荐(0) 编辑