1. Sridhar Ramachandran
  2. bitsy
  3. Issues
Issue #2 resolved

ThreadedTransactionalGraph - commit method does not work

Giuseppe Santoro
created an issue

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.commit();//will throw a nep, same for rollback


Comments (3)

  1. Sridhar Ramachandran 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.

    Link to code changes

  2. Log in to comment