springboot数据源配置【druid、Hikari】
测试配置的代码@SpringBootTest(classes = App.class)public class AppTest { @Autowired DataSource dataSource; @Test public void testIsConnect() throws SQLException { System.out.println(dataSource.getClass()); Connection connectio
原创
2022-01-29 11:18:18 ·
1782 阅读 ·
0 评论