Skip to content

Commit 0c64381

Browse files
committed
fix transaction on addVertex
1 parent d46e239 commit 0c64381

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jnosql-tinkerpop/src/main/java/org/eclipse/jnosql/databases/tinkerpop/communication/DefaultTinkerpopGraphDatabaseManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ private Vertex addVertex(CommunicationEntity entity) {
259259
).toArray();
260260
Vertex vertex = graph.addVertex(args);
261261
entity.add(ID, vertex.id());
262+
GraphTransactionUtil.transaction(graph);
262263
return vertex;
263264
}
264265

0 commit comments

Comments
 (0)