上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: GitHub:https://github.com/JDawnF一、运行源码解析先看一下Mybatis的Dao实现类例子,如下:A、 输入流的关闭在输入流对象使用完毕后,不用手工进行流的关闭。因为在输入流被使用完... 阅读全文
posted @ 2019-06-02 22:46 白晨冬阳 阅读(262) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnF一、Mapper接口的工作原理Mapper 接口,对应的关系如下: 接口的全限名,就是映射文件中的 "namespace" 的值。 接口的方法名... 阅读全文
posted @ 2019-06-01 01:22 白晨冬阳 阅读(329) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnF一、MyBatis编程步骤 创建 SqlSessionFactory 对象。 通过 SqlSessionFactory 获取 SqlSessio... 阅读全文
posted @ 2019-05-31 01:25 白晨冬阳 阅读(98) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnFSQL 映射文件只有很少的几个顶级元素(按照应被定义的顺序列出): cache – 对给定命名空间的缓存配置。 cache-ref – 对其他命... 阅读全文
posted @ 2019-05-31 00:47 白晨冬阳 阅读(296) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnF目录一、核心组件1.概述:2. MultipartResolverMultipartResolver 接口,代码如下:3. LocaleResolv... 阅读全文
posted @ 2019-05-29 08:35 白晨冬阳 阅读(320) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnF/learning_note@Controller@Controller 注解,它将一个类标记为 Spring Web MVC 控制器 Contro... 阅读全文
posted @ 2019-05-29 08:34 白晨冬阳 阅读(76) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnF/learning_note目录1、事务2、事务的特性3、列举 Spring 支持的事务管理类型3.1 声明式事务a.基于TransactionIn... 阅读全文
posted @ 2019-05-28 09:39 白晨冬阳 阅读(140) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnF/learning_note目录1、简介1.1 应用场景2、Aspect简介3、AOP相关术语Joinpoint(连接点):Pointcut(切入点... 阅读全文
posted @ 2019-05-27 08:42 白晨冬阳 阅读(125) 评论(0) 推荐(0) 编辑
摘要: GitHub:https://github.com/JDawnF/learning_note目录1、Spring 的配置方式2、Bean Scope作用域3、Bean的生命周期实例化 Bean 对象4、内部Bea... 阅读全文
posted @ 2019-05-26 09:53 白晨冬阳 阅读(230) 评论(0) 推荐(1) 编辑
摘要: GitHub:https://github.com/JDawnF/learning_note目录1. 什么是循环依赖2. 解决循环依赖2.1 getSingleton2.2 addSingletonFactory... 阅读全文
posted @ 2019-05-26 09:40 白晨冬阳 阅读(115) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页