修改实体和 Mapper,解决 PostgreSQL 查询报错的问题

This commit is contained in:
YunaiV
2022-04-30 20:09:36 +08:00
parent 98c317f0e0
commit e24c8c3425
56 changed files with 166 additions and 64 deletions

View File

@@ -20,6 +20,9 @@ public class DefaultDatabaseQueryTest {
long time = System.currentTimeMillis();
List<TableInfo> tableInfos = query.queryTables();
for (TableInfo tableInfo : tableInfos) {
System.out.println(String.format("CREATE SEQUENCE %s_seq MINVALUE 0;", tableInfo.getName()));
}
System.out.println(tableInfos.size());
System.out.println(System.currentTimeMillis() - time);
}