how to get the storage engine using jdbc

http://stackoverflow.com/questions/10885950/how-to-get-the-storage-engine-using-jdbc


Statement stmt = connection.createStatement(); 
stmt
= connection.createStatement();
 ResultSet rs = stmt.executeQuery("select engine from information_schema.tables where table_name='" + tableName + "';");
rs
.next();
System.out.println(rs.getString(1));
 

你可能感兴趣的:(Engine)