Mybatis
mark2965
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MybatisGenerator生成的mapper 少了识别主键的方法 byPrimaryKey()
问题在使用逆向工程的自动生成mapper.java 的时候,不能够生成时别主键的方法。解决方法 <jdbcConnection driverClass="com.mysql.cj.jdbc.Driver" connectionURL="jdbc:mysql://localhost:3306/test?serverTimezo...原创 2020-05-04 20:33:00 · 460 阅读 · 0 评论 -
Maven 环境下在Mybatis中PageHelper分页插件的使用
1.首先需要在maven工程中引入pagehelper的依赖<!-- pageHelper分页插件 --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> &...原创 2020-05-04 20:30:33 · 1024 阅读 · 0 评论
分享