Paolo, yes, I did this. In fact, this was the first thing I did at all. I took the snapshot to replace TDB 0.8.7 and I did not use the transaction API at all. I only had to make minimal changes here and there (e.g. in TDB 0.8.7, the sync() method still took a boolean etc. I started running my test cases and I first ran into the direct mode issue which was fixed quickly by Andy (see https://issues.apache.org/jira/browse/JENA-86). After that, I ran immediately into JENA-91. Because I wanted to progress with my own integration, I adopted the transaction framework which showed the same problems
so, it is safe to say the bus is in the necessary changes in the internal TDB structures to support transactions but not necessarily in the new code. Simon From: Paolo Castagna <[email protected]> To: [email protected] Date: 08/19/2011 11:10 AM Subject: Re: TxTDB and JENA-91, JENA-96 and JENA-97 Simon Helsen wrote: > Note also that our > framework and test cases run glitch-free in a commercial product on TDB > 0.8.7 and I did not observe any issues when I integrated the latest SDB > (even using transactions). In other words, from my point of view, the > current TDB-TX has a problem and we just have to find out what makes it > happen. One more note: it is always possible that I am doing something > wrong in how I integrated TDB-TX, so I am not saying that JENA-91, JENA-86 > and JENA-97 are definitely TDB-TX bugs, but for now, I have no other > choice than to think that they are Simon, one interesting experiment to do, if you can, would be to take your glitch-free test framework using TDB 0.8.7 and simply point to the latest TxTDB SNAPSHOT [1] without changing any code to use transactions. It's not clear to me if you have done so already and you had problems. Have you? This could be another important clue (and it would mean that the bug is in the necessary changes in the internal TDB structures to support transactions but not necessarily in the new code. Paolo [1] http://www.openjena.org/repo-dev/com/hp/hpl/jena/tx-tdb/0.9.0-SNAPSHOT/tx-tdb-0.9.0-20110817.065027-9.jar
