|
发表于 2019-8-27 17:23:06
|
显示全部楼层
- Table table = TableUtils.createTable("AP_RQ", "/appdemo/test/data");
- for (int i = 0; i < 3; i++) {
- Row row = table.appendRow();
- row.setString("AP_RQ", UUID.randomUUID().toString());
- row.setInteger("version", 0);
- row.setString("fName", "fBizType" + i);
- row.setString("fCode", "fRecordType" + i);
- }
- table.getProperties().put(Table.PROP_NAME_ROWID, "AP_RQ");
- table.getProperties().put(Table.PROP_DB_COUNT, table.size());
- String recordConcept = "AP_RQ";// 要更新的概念名
- // table.getMetaData().setKeyColumn("AP_RQ");
- table.getMetaData().setStoreByConcept(recordConcept, true);
- table.save("/appdemo/test/data");
复制代码 |
|