mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix bugs
This commit is contained in:
@@ -154,7 +154,12 @@ public class HandleHelper {
|
||||
row.put(meta.getColumnLabel(i), getColumnValue(rs, i, type, null));
|
||||
}
|
||||
if (withMetaInfo) {
|
||||
row.setTableName(meta.getTableName(1));
|
||||
try {
|
||||
row.setTableName(meta.getTableName(1));
|
||||
} catch (SQLException ignore){
|
||||
//issue#I2AGLU@Gitee
|
||||
// Hive等NoSQL中无表的概念,此处报错,跳过。
|
||||
}
|
||||
row.setFieldNames(row.keySet());
|
||||
}
|
||||
return row;
|
||||
|
Reference in New Issue
Block a user