Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-458

Make model work across transaction boundaries / make model.begin do something reasonable.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • TDB 0.10.1
    • Jena 3.6.0
    • TDB
    • None

    Description

      Currently, the model view must be re-feteched from the TDB dataset across transaction boundaries even if all updates went via the model.

      For some models, this is expensive - for example, inference models with significant forward chaining.

      A problem will always be that if the database can change via a different route.

      A side-effect will be that model.begin()/model.commit()/model.abort() can be implemented as always being a write transaction. It would need an API change to support the difference between read and write.

      Attachments

        Activity

          People

            andy Andy Seaborne
            andy Andy Seaborne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: