graph.setAutoStartTx(false);
graph.commit();
final OrientVertexType vertexType = graph.createVertexType("TestVertex");
vertexType.createProperty("uuid", OType.STRING);
vertexType.createIndex("TestVertexUuidIndex", OClass.INDEX_TYPE.UNIQUE_HASH_INDEX, "uuid");
final OrientEdgeType edgeType = graph.createEdgeType("TestEdge");
edgeType.createProperty("uuid", OType.STRING);
edgeType.createIndex("TestEdgeUuidIndex", OClass.INDEX_TYPE.UNIQUE_HASH_INDEX, "uuid");
graph.shutdown();