![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SSM框架
菜Orange
这个作者很懒,什么都没留下…
展开
-
Mybaits拦截器实现查询分页
1.创建两个实体类 CommandContent类和Command类 public class CommandContent { private String id; //主键 private String content; private String commandId; public String getId() { return id; } public void set原创 2018-01-08 20:59:42 · 240 阅读 · 0 评论 -
MyBatis四大对象及插件原理
1.四大对象: ParameterHandler:处理SQL的参数对象 StatementHandler:数据库的处理对象,用于执行SQL语句 Executor:MyBatis的执行器,用于执行增删改查操作 ResultSetHandler:处理SQL的返回结果集 追踪四大对象的源码: org.apache.ibatis.executor.param...原创 2019-08-19 17:21:35 · 702 阅读 · 0 评论