![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
文章平均质量分 78
zhaojian0910
这个作者很懒,什么都没留下…
展开
-
MyBatis为什么只有接口就能玩
先看一段使用Mybatis使用的代码package com.ydyx.mybatis.demo;import com.ydyx.mybatis.dto.Auth;import com.ydyx.mybatis.dto.Comment;import com.ydyx.mybatis.dto.Content;import com.ydyx.mybatis.dto.Posting;import com.ydyx.mybatis.mapper.PostingMapper;import org.apa原创 2020-07-15 16:05:30 · 698 阅读 · 0 评论 -
Spring 扫描不到 Mybatis的Mapper的interface
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of resource dependencies failed; nested exception is org.springframework.beans.facto...原创 2015-08-25 09:42:42 · 567 阅读 · 0 评论 -
Mybatis 批量更新 set 多个字段你的时候报错 mysql
日志如下:2015-10-15 10:18:00,070 DEBUG - JDBC Connection [jdbc:mysql://localhost:3306/section?useUnicode=true&characterEncoding=UTF-8, UserName=root@localhost, MySQL-AB JDBC Driver] will not be m...原创 2015-10-15 10:57:19 · 572 阅读 · 0 评论 -
Mybatis 关联查询 collection 效率 分析
背景:有一张评议人表(e_evaluator),一张参评企业表(attend_enterprise_info),一张评议人和参评企业关系表(er_evaluator_attend_enterprise),关系如下图 目前e_evaluator表中有3800条数据,attend_enterprise_info表中有130条数据,er_evaluator_attend_enterpri...原创 2017-04-17 17:09:18 · 4496 阅读 · 2 评论