摘要:
SPI机制为很多框架的扩展提供了可能,其实JDBC就应用到了这一机制。回忆一下JDBC获取数据库连接的过程。在早期版本中,需要先设置数据库驱动的连接,再通过DriverManager.getConnection获取一个Connection。 String url = "jdbc:mysql:///c 阅读全文
posted @ 2019-10-29 18:58 GLLegolas 阅读(2773) 评论(0) 推荐(1)
posted @ 2019-10-29 18:58 GLLegolas 阅读(2773) 评论(0) 推荐(1)
posted @ 2019-10-29 18:57 GLLegolas 阅读(561) 评论(0) 推荐(0)
posted @ 2019-10-29 17:23 GLLegolas 阅读(751) 评论(0) 推荐(0)
posted @ 2019-10-29 14:36 GLLegolas 阅读(684) 评论(1) 推荐(0)