Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 3.1.0
-
None
Description
This JIRA is to add the ability for a read transaction to promote to a write transaction.
API changes are necessary to expose this feature properly and uniformly.
PR #161 provides the machinery for TDB. To avoid general API changes outside TDB, this happens automatically in DatasetGraphTransaction.getW() if enabled (by default it isn't, the PR makes no change to behaviour of TDB by default). It needs to be enabled with DatasetGraphTransaction.promotion = true. PR#161 does contain internal changes (e.g. DatasetGraphWrapper) outside TDB.
This leads towards a general begin() for transactions.
This JIRA is cover discussion on the API and record changes to the subsystems.