摘要: 1.1.1. 主要对象介绍 SqlSessionFactoryBuilder 通过加载MyBatisde 核心配置文件,创建SqlSessionFactory,创建完后就不需要了 SqlSessionFactory 定义了openSession的不同重载方法 sqlSession(线程不安全) 定义 阅读全文
posted @ 2019-08-03 18:13 xyfaneast 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1、json字符串转list 返回值是new TypeToken<ArrayList<NodeBean>>() {}.getType()); 的类型 1、泛型使用 没有引入泛型之前时写法: public class UserResult { public int code; public Strin 阅读全文
posted @ 2019-08-03 18:11 xyfaneast 阅读(239) 评论(0) 推荐(0) 编辑