Mybatis第四天學習筆記(上)

mybatis之延遲加載 緩存 一對一延遲加載 1.在SqlMapConfig.xml中配置setting標籤 mybatis文檔:https://mybatis.org/mybatis-3/zh/index.html 2.IAccountDao.xml中配置association標籤 3.測試類 4.成功運行 緩存 一級緩存 其實mybatis中默認就是一級緩存了(平時的測試類就是一級緩存存在S
相關文章
相關標籤/搜索