判断是否mysql数据库
private static boolean isMySQL(Connection conn) throws Exception {if (-1 == conn.getMetaData().getURL().toLowerCase().indexOf("mysql")) { return false;} return true;} 发布时间: 2012-10-28 09:54:44 作者: rapoo
判断是否mysql数据库
private static boolean isMySQL(Connection conn) throws Exception {if (-1 == conn.getMetaData().getURL().toLowerCase().indexOf("mysql")) { return false;} return true;}