TDB will ensure there is only one active write transaction - you can
create as many as you want (there's a lock per dataset inside
begin(WRITE) to serialize the writers). Readers don't go near that lock.
Andy
On 07/03/14 21:20, Rob Vesse wrote:
Just use a write transaction, a write transaction can read as well as write.
You just need to remember that you can only have one write transaction at a
time in architecting your application.
Rob
-----Original Message-----
From: "Joakim Soderberg" <[email protected]>
Sent: 07/03/2014 20:38
To: "[email protected]" <[email protected]>
Subject: SPAM-HIGH: transactions that combine read & write
I am implementing a TDB backed triple store with using transactions using
Jena 2.11. The system is deployed on Tomcat.
Is it possible to create transactions that combine read & write ?
Does anybody have sample code how to achieve that?