摘要: springBoot使用JdbcTemplate 如果是通过spring自动注入的jdbcTemplate,配好application.properties在其他类中就能在其他类中直接使用。 如果通过new JdbcTemplate()出来的就需要自己配置DataSource。 自动注入如下 app 阅读全文
posted @ 2019-08-11 21:36 火鸦哈士奇 阅读(1282) 评论(0) 推荐(0)