spring--day02笔记 联系客服

发布时间 : 星期日 文章spring--day02笔记更新完毕开始阅读516d5999aeaad1f347933f30

2.3.3 C3P0 + properties (重要)

? 将连接数据4个基本参数

jdbc.driverClass=com.mysql.jdbc.Driver jdbc.jdbcUrl=jdbc:mysql://localhost:3306/spring_day02 jdbc.user=root jdbc.password=1234 ? xml 将加载properties文件,并通过${key} 获得