下面的代码打印id: 0
。为什么空图数据库中有一个节点?
GraphDatabaseService db = new GraphDatabaseFactory().newEmbeddedDatabase(DB_LOCATION);
GlobalGraphOperations graphOperations = GlobalGraphOperations.at(db);
System.out.println("id: "+graphOperations.getAllNodes().iterator().next().getId());