JdbcTemplate原理分析

1.類繼承結構算法 其中JdbcAccessor是抽象類,爲子類提供公用屬性, 主要包括DataSource、SQLExceptionTranslator(提供get、set方法) JdbcOperations接口定義了須要JdbcTemplate可使用的一些操做,如增刪改查之類的 具體來講JdbcTemplate爲咱們提供了以下方法: 2.JdbcTemplate所提供的方法 execute方法
相關文章
相關標籤/搜索