执行下面的sql换了就可以了
String sql="select column_name,data_type,column_comment from information_schema.columns where table_schema='"+bi.getDatabase()+"' and table_name='"+bi.getTable()+"'and table_schema = (select database()) order by ordinal_position";
执行下面的sql换了就可以了
String sql="select column_name,data_type,column_comment from information_schema.columns where table_schema='"+bi.getDatabase()+"' and table_name='"+bi.getTable()+"'and table_schema = (select database()) order by ordinal_position";