mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复Oracle下特殊表名导致meta信息获取不到问题
This commit is contained in:
@@ -19,6 +19,9 @@ public class IssueI9BANETest {
|
||||
|
||||
final DataSource ds = DSFactory.get("orcl");
|
||||
final Table tableMeta = MetaUtil.getTableMeta(ds, null, null, "\"1234\"");
|
||||
Console.log(tableMeta.getIndexInfoList());
|
||||
Console.log("remarks: " + tableMeta.getComment());
|
||||
Console.log("pks: " + tableMeta.getPkNames());
|
||||
Console.log("columns: " + tableMeta.getColumns());
|
||||
Console.log("index: " + tableMeta.getIndexInfoList());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user