《mybatis》4 緩存機制

參考博客:https://blog.csdn.net/luanlouis/article/details/41280959 https://blog.csdn.net/luanlouis/article/details/41408341 一 一級緩存機制 1 沒執行一個sql操作,mybatis會創建一個sqlSession表示一個數據庫會話(如果是一個事務裏面只會創建一個sqlSession),
相關文章
相關標籤/搜索