随笔分类 -  MyBatis

摘要:MyBitis(iBitis)系列随笔之二:类型别名(typeAliases)与表-对象映射(ORM) MyBitis(iBitis)系列随笔之六:mybitis与spring集成 1. 不区分大小写 <mapper namespace="Message"> <resultMap type="com 阅读全文
posted @ 2017-05-17 11:32 charles999 阅读(467) 评论(0) 推荐(0)
摘要:previous: MyBatis_4_一对多关系配置 容易混淆的概念 resultMap resultType MyBatis学习总结_13_Mybatis查询之resultMap和resultType区别 parameterMap(官方不推荐使用,只是为了保持与老版本一致) paramType 阅读全文
posted @ 2017-04-25 16:25 charles999 阅读(202) 评论(0) 推荐(0)
摘要:IMOOC:http://www.imooc.com/video/4780 previous: MyBatis_3_SQL动态拼接next:MyBatis_5_容易混淆的概念 5-1 一对多关系配置1 getter and setter does not create,for space savin 阅读全文
posted @ 2017-04-24 16:14 charles999 阅读(318) 评论(0) 推荐(0)
摘要:next:MyBatis加强版_2_分页 ************************************** mybaits接口式编程:规范参数,与spring结合时非常重要 sql数据库的xml文件: <mapper namespace="com.imooc.dao.IMessage"> 阅读全文
posted @ 2017-04-21 10:29 charles999 阅读(256) 评论(0) 推荐(0)
摘要:previous:MyBatis_2_MyBatis下载并搭建框架 next:MyBatis_4_一对多关系配置 4-1 SQL动态拼接 1.parameterType可直接填写java.long包的类型,不需要包名 2. OGNL(与EL一样是一种语言)功能强大的表达式语言(直接支持JAVA对象的 阅读全文
posted @ 2017-04-20 14:21 charles999 阅读(11033) 评论(0) 推荐(0)
摘要:preivious:MyBatis_1 next:MyBatis_3_SQL动态拼接 3-1 MyBatis下载并搭建框架 download site: https://github.com/mybatis/mybatis-3/releases 下载: Latest release mybatis- 阅读全文
posted @ 2017-04-20 09:39 charles999 阅读(682) 评论(0) 推荐(0)
摘要:官方文档:http://www.mybatis.org/mybatis-3/zh/index.html next:MyBatis_2_MyBatis下载并搭建框架 2-3 页面跳转 ·JSP页面放入WEB-INF 文件夹下,便于控制和管理(只在后台控制),外部无法直接访问 ·在WEB-INF 下通过 阅读全文
posted @ 2017-04-19 14:28 charles999 阅读(217) 评论(0) 推荐(0)