![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
灰客_ck
学无止境,加油,年轻人!
展开
-
Mybatis心得笔记
Mybatis架构图接口层 接口层是Mybatis提供给开发人员的一套API。 主要使用SqlSession接口,session.insert(“insert_user_sql”,user); 我们可以通过Session接口和Mapper接口 通知 Mybatis 调用哪条 SQL命令以及相关参数。数据处理层数据处理层是Mybatis框架的核心实现,主要是解析映射文件(userMapper.xml)和数据处理支撑层用来完成Mybatis与数据库基本连接方式以及SQL命令与配置文件对应原创 2020-10-31 13:03:13 · 332 阅读 · 0 评论 -
Invalid bound statement (not found)错误
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): org.ines.center.mapper.PhZ01WsjsjdxgxxbgMapper.queryPageInfoInforreport at org.apache.ibatis.binding.MapperMethod$Sq原创 2017-08-12 17:09:41 · 632 阅读 · 0 评论 -
SSM(Spring 4.3.12.RELEASE + SpringMVC + Mybatis)整合 redis
前提:我已经在VMware中搭建好lmnt环境,可参考:http://blog.csdn.net/m0_37776094/article/details/79302797同时启动redis服务,防火墙的6379端口也永久开放了上述的博客只是对redis安装,具体开启远程配置还需要自己去百度。------------------------------------------------------...原创 2018-02-14 14:14:26 · 498 阅读 · 0 评论 -
C3P0连接池之connct没关闭的坑
使用的是 org.springframework.jdbc.core.JdbcTemplate在c3p0数据源中添加以下配置,检查系统哪里的connect没有关闭<!-- 超过时间限制是否回收 --><property name="removeAbandoned" value="true" /><!-- 超过时间限;单位为秒。180秒=3分钟 --&g...原创 2019-03-03 12:04:16 · 1399 阅读 · 0 评论