MyBatis源碼分析(05)執行查詢SQL

前面的獲取對象的過程基本都debug完了,下面看最後一行: String name = mapper.selectNameById(1); 也就是執行SQL語句的具體過程。         下面從SQL語句的執行開始debug: 1、String name = mapper.selectNameById(1); 我們自定義的接口UserMapper是個接口,沒有實現類,前面分析獲取mapper時我
相關文章
相關標籤/搜索