摘要: 第一种方法 在bean.xml中写 第二种方法作jdbc.properties在bean.xml中写 classpath:jdbc.properties 在jdbc.properties中配置jdbc.driverClassName=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://localhost:3306/springjdbc.username=rootjdbc.password=bjsxt 阅读全文
posted @ 2013-09-16 11:18 daniell2012 阅读(163) 评论(0) 推荐(0) 编辑