随笔分类 -  mybatis

摘要:总结: 1、mybaits配置工2方面: i行为配置,如数据源的实现是否利用池pool的概念(POOLED – This implementation of DataSource pools JDBC Connection objects to avoid the initial connectio 阅读全文
posted @ 2018-12-27 16:14 papering 阅读(659) 评论(0) 推荐(0)
摘要:https://github.com/mybatis/mybatis-dynamic-sql MyBatis Dynamic SQL What Is This? This library is a framework for generating dynamic SQL statements. Th 阅读全文
posted @ 2018-12-10 17:24 papering 阅读(1317) 评论(0) 推荐(0)
摘要:.├── pom.xml└── src ├── main │ ├── java │ │ └── com │ │ └── test │ │ ├── mybatisInsert.java │ │ ├── mybatisSelect.java │ │ └── Student.java │ └── reso 阅读全文
posted @ 2018-12-05 17:37 papering 阅读(1116) 评论(0) 推荐(0)
摘要:mybatis – MyBatis 3 | 入门 http://www.mybatis.org/mybatis-3/zh/getting-started.html 从 XML 中构建 SqlSessionFactory 每个基于 MyBatis 的应用都是以一个 SqlSessionFactory 阅读全文
posted @ 2018-12-05 14:18 papering 阅读(790) 评论(0) 推荐(0)
摘要:mybatis – MyBatis 3 | 入门 http://www.mybatis.org/mybatis-3/zh/getting-started.html 作用域(Scope)和生命周期 理解我们目前已经讨论过的不同作用域和生命周期类是至关重要的,因为错误的使用会导致非常严重的并发问题。 提 阅读全文
posted @ 2018-12-05 14:15 papering 阅读(1031) 评论(0) 推荐(0)
摘要:mybatis-config.xml 配置文件 MyBatis Java API Directory Structure 目录结构 mybatis – MyBatis 3 | Java API http://www.mybatis.org/mybatis-3/java-api.html 在我们深入 阅读全文
posted @ 2018-12-05 11:24 papering 阅读(471) 评论(0) 推荐(0)
摘要:mybatis – MyBatis 3 | Mapper XML 文件 http://www.mybatis.org/mybatis-3/zh/sqlmap-xml.html mybatis – MyBatis 3 | SQL语句构建器 http://www.mybatis.org/mybatis- 阅读全文
posted @ 2018-12-04 11:39 papering 阅读(337) 评论(0) 推荐(0)