Yuta HIGUCHI

FooComponent: check before create

Change-Id: Ie073ebc41a4c9028a1db804c57047a95f6617e47
......@@ -157,7 +157,9 @@ public class FooComponent {
final String someTable = "admin";
final String someKey = "long";
if (!dbAdminService.listTables().contains(someTable)) {
dbAdminService.createTable(someTable);
}
VersionedValue vv = dbService.get(someTable, someKey);
if (vv == null) {
......