public static void main(String[] args) throws Exception {
//String file1 = "/config/export_sqlite_data_clear.cfg";
//executeSelectSQLFile(file1, null);
String file2 = "/config/export_sqlite_data_select.cfg";
executeSelectSQLFile(file2, null);
}
}
代码中应用的cfg文件形式:
select * from t_chapter
select * from t_question_type
使用中目前未发现什么问题,如有BUG,请各位大神改进。
--------------------------------------分割线 --------------------------------------
Ubuntu 14.04下安装MySQL