spring获取数据库链接对象

12020171030mysql 12020171030 一、导入数据库相关jar包:spring-jdbc-4.3.6.RELEASE.jar、spring-tx-4.3.6.RELEASE.jar 二、在src下建立资源文件db.properties 三、配置beans.xml文件 四、测试文件,获取数据链接对象 ApplicationContext ctx = new C
相关文章
相关标签/搜索