![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
框架学习
青殒
这个作者很懒,什么都没留下…
展开
-
pagehelper
1.导入依赖 <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper</artifactId> <version>5.1.2</version> </de...原创 2020-03-29 18:16:02 · 101 阅读 · 0 评论 -
Spring
xml文件约束: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocati...原创 2020-02-22 17:27:08 · 113 阅读 · 0 评论 -
mybatis
Mapped Statements collection already contains value for。。。错误提示方法ID重复,可能是同时使用了xml和注解方法占用了同一个ID 想要链接获取方法在查询等之前执行,需要加@Before注解 断开连接等需要在最后执行的方法需要加@Arter注解 添加数据时需要提交事务才能将数据放入数据库,否则会回滚导致添加失败,所以需要在destor...原创 2020-02-02 10:36:12 · 80 阅读 · 0 评论