public void test() throws Exception { new Plant(); try { Path dbPath = Paths.get("vcow.db"); Files.deleteIfExists(dbPath); int maxRootBlockSize = 1000; try (Db db = new Db(new BaseRegistry(), dbPath, maxRootBlockSize)) { Files.deleteIfExists(dbPath); db.registerTransaction("SecondaryTran", SecondaryTran.class); db.open(true); String timestampId = db.update("SecondaryTran").call(); } } finally { Plant.close(); } }