File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
jnosql-tinkerpop/src/test/java/org/eclipse/jnosql/databases/tinkerpop/cdi Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2222import org .apache .tinkerpop .gremlin .structure .Graph ;
2323import org .apache .tinkerpop .gremlin .structure .util .GraphFactory ;
2424import org .apache .tinkerpop .gremlin .tinkergraph .structure .TinkerGraph ;
25+ import org .apache .tinkerpop .gremlin .tinkergraph .structure .TinkerTransactionGraph ;
2526import org .testcontainers .containers .GenericContainer ;
2627
2728import java .io .File ;
@@ -61,7 +62,8 @@ public Graph get() {
6162 Configuration configuration = new BaseConfiguration ();
6263 configuration .setProperty (TinkerGraph .GREMLIN_TINKERGRAPH_VERTEX_ID_MANAGER , TinkerGraph .DefaultIdManager .STRING .name ());
6364 configuration .setProperty (TinkerGraph .GREMLIN_TINKERGRAPH_EDGE_ID_MANAGER , TinkerGraph .DefaultIdManager .STRING .name ());
64- return TinkerGraph .open (configuration );
65+ configuration .setProperty (TinkerGraph .GREMLIN_TINKERGRAPH_VERTEX_PROPERTY_ID_MANAGER , TinkerGraph .DefaultIdManager .STRING .name ());
66+ return TinkerTransactionGraph .open (configuration );
6567 }
6668 }
6769
You can’t perform that action at this time.
0 commit comments