随笔分类 -  Mybatis相关

摘要:https://www.jianshu.com/p/d2b913b76e6d 阅读全文
posted @ 2021-08-26 16:03 尐鱼儿 阅读(60) 评论(0) 推荐(0) 编辑
摘要:http://www.tianshouzhi.com/api/tutorials/mybatis/374 阅读全文
posted @ 2021-08-26 15:59 尐鱼儿 阅读(8) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/wangchuanfu/p/5877243.html 阅读全文
posted @ 2021-08-26 15:58 尐鱼儿 阅读(53) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/szwangdf/article/details/27859847/ 阅读全文
posted @ 2020-10-10 12:39 尐鱼儿 阅读(135) 评论(0) 推荐(0) 编辑
摘要:https://baomidou.com/ MyBatis-Plus 为简化开发而生 阅读全文
posted @ 2020-10-10 12:17 尐鱼儿 阅读(57) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/siwuxie095/article/details/79190856 阅读全文
posted @ 2020-08-27 16:25 尐鱼儿 阅读(109) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/weixin_43184769/article/details/91126687 阅读全文
posted @ 2020-08-17 17:10 尐鱼儿 阅读(190) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/lukelook/p/11099039.html https://www.jianshu.com/p/e8f294f6704b 阅读全文
posted @ 2020-08-17 17:08 尐鱼儿 阅读(66) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/adolfmc/p/8997281.html https://blog.csdn.net/weixin_43184769/article/details/91126687 阅读全文
posted @ 2020-08-15 11:30 尐鱼儿 阅读(93) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/a745233700/article/details/80977133 https://www.cnblogs.com/qmillet/p/12523636.html 阅读全文
posted @ 2020-08-15 11:28 尐鱼儿 阅读(91) 评论(0) 推荐(0) 编辑
摘要:mybatis中LIKE模糊查询的几种写法以及注意点 https://blog.csdn.net/zhenwei1994/article/details/81876278 预处理prepareStatement是怎么防止sql注入漏洞的? https://www.cnblogs.com/yaochc 阅读全文
posted @ 2020-03-03 13:18 尐鱼儿 阅读(306) 评论(0) 推荐(0) 编辑
摘要:https://www.jb51.net/article/149087.htm 阅读全文
posted @ 2020-03-03 13:16 尐鱼儿 阅读(128) 评论(0) 推荐(0) 编辑
摘要:使用Springboot框架login_name LIKE CONCAT('%',#{loginName},'%') 查询无结果,但是在数据库执行sql能查询出结果 解决办法:在数据库url加上编码方式characterEncoding=utf8解决问题 spring.datasource.url= 阅读全文
posted @ 2020-03-03 13:10 尐鱼儿 阅读(378) 评论(0) 推荐(0) 编辑
摘要:ResultMap标签基本作用:建立SQL查询结果字段与实体属性的映射关系信息 在深入ResultMap标签前,我们需要了解从SQL查询结果集到JavaBean或POJO实体的过程。 1. 通过JDBC查询得到ResultSet对象 2. 遍历ResultSet对象并将每行数据暂存到HashMap实 阅读全文
posted @ 2018-12-03 14:44 尐鱼儿 阅读(266) 评论(0) 推荐(0) 编辑
摘要:1、首先定义一个sql标签,一定要定义唯一id<sql id="Base_Column_List" >name,age</sql>2、然后通过id引用<select id="selectAll">select <include refid="Base_Column_List" /> from stu 阅读全文
posted @ 2018-12-03 14:28 尐鱼儿 阅读(1531) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示