![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis
博文豆芽菜
这个作者很懒,什么都没留下…
展开
-
在SSM框架整合中使用单元测试
在SSM框架整合中使用单元测试原创 2022-03-21 13:26:30 · 1422 阅读 · 0 评论 -
过滤器配置问题(/和/*的区别)
表单form.jsp:<%@ page contentType="text/html;charset=UTF-8" language="java" %><html> <head> <title>$Title$</title> </head> <body> <form action="/e/t1" method="post"> <input type="text" ..原创 2022-02-21 02:07:32 · 708 阅读 · 0 评论 -
mybatis解决的几个问题(illegalArgumentException、提交事务、)
报illegalArgumentException异常:在使用mybatis中,若出现illegalArgumentException异常,解决方案为:一查看namespace是否争取,二查看你的resultMap类型的是否正确,然后最后一种是在开发中遇到的,如:实体类:Student:Teacher:当我们要查询Student的信息,由于Student实体中存在Teacher的实体,所以在mybatis我们可以用子查询的方法去查找想要的数据:Studentmapper原创 2022-02-20 18:54:03 · 1223 阅读 · 0 评论