- edited description
ThreadedTransactionalGraph - commit method does not work
Issue #2
resolved
The commit and rollback methods are not overridden so the tx field is always null. Check the example.
ThreadedTransactionalGraph graph = new BitsyGraph();
TransactionalGraph txGraph = graph.newTransaction();
txGraph.getVertices();
txGraph.stopTransaction(TransactionalGraph.Conclusion.SUCCESS);
txGraph.commit();//will throw a nep, same for rollback
bye.
Comments (3)
-
reporter -
repo owner This should be fixed in the 1.1-SNAPSHOT. The latest JAR should be available in Maven Sonatype as well as the downloads folder. Kindly close the issue if your tests work with the latest version.
The problem was with the port to version 2.3.0. The ThreadedTransactionalGraph's stopTransaction() was correct, but the commit()/rollback() were wrong.
-
reporter - changed status to resolved
Thank you, problem solved.
- Log in to comment