09 2020 档案
摘要:一. 配置文件 参考: https://www.cnblogs.com/wanthune/p/13674243.html 二. 源码解析 XMLConfigBuilder 就是解析Xml的主类。 public Configuration parse() { if (parsed) { throw n
阅读全文
摘要:解析配置文件 配置mybatis-config.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybati
阅读全文
摘要:Mybatis 启动流程 @Before public void init() throws IOException { String resouce = "mybatis-config.xml"; /** * 读取 mybatis文件,返回的是 InputStream流 */ InputStrea
阅读全文
摘要:分享大佬文章: https://www.hollischuang.com/archives/5014
阅读全文

浙公网安备 33010602011771号