摘要: 需要的jar包有 commons-dbutils , commons-dbcp , commons-pool , mysql-connector-java 本地database.propertties 配置为 该文件创建在src根目录下 首先做一个DBCP工具类 应用该工具类 结合 DBUtils 阅读全文
posted @ 2017-12-14 17:59 ZhenJie.W 阅读(2143) 评论(0) 推荐(0) 编辑
摘要: Dbutils 官网http://commons.apache.org/proper/commons-dbutils/ 结合我个人写的JDBCUtils 写的 Dbutils 的使用demo . JDBCUtils 传送门:http://www.cnblogs.com/wwcherish/p/803 阅读全文
posted @ 2017-12-14 14:51 ZhenJie.W 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1 var path = require('path'); 2 var glob = require('glob') 3 var fs = require('fs'); 4 var Promise = require('bluebird'); 5 var readdir = Promise.promisify(fs.readdir); 6 var rename = Promise.p... 阅读全文
posted @ 2017-12-14 14:37 ZhenJie.W 阅读(2811) 评论(0) 推荐(0) 编辑
摘要: 引用 mysql-connector-jav 的jar 配置文件为 database.propertties . 格式如下 以下是代码 阅读全文
posted @ 2017-12-14 14:08 ZhenJie.W 阅读(1277) 评论(0) 推荐(0) 编辑