![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis
xiaoyaGrace
这个作者很懒,什么都没留下…
展开
-
Mybatis持久层注解开发
1. 配置增删改查[Java]纯文本查看复制代码? 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24...转载 2020-03-10 15:28:28 · 261 阅读 · 0 评论 -
Mybatis Generator 不识别主键
问题描述:在使用mybatis-Generator生成xml时,生成的xml文件中缺少ByPrimaryKey,通过跟踪代码发现,表的主键list为空,识别主键失败。解决方案:在jdbcConnection 节点添加 即可<!--数据库链接URL,用户名、密码 --> <jdbcConnection driverClass="com.mysql.jdbc.Dr...原创 2019-11-05 15:47:09 · 380 阅读 · 0 评论