Greetings, I am currently working on rewriting the unit tests for the Jena core module. I am creating Contract tests ( http://thecodewhisperer.tumblr.com/post/1172613515/stub-your-data-access-layer-it-wont-hurt )
where in I check that the implementation of the interface (say Model) doesn't violate the contract of the model (e.g. creating a Statement does not add the statement to the model). Which brings me to my real question: For methods like createStatement() in models that support transactions, should the create statement be executed within a transaction? I am thinking that as it does not modify the model it should not and I suspect there is a lot of code that does not expect it to be within a transaction. So if the model implementers would step forward with opinions I would appreciate it. Claude p.s. I should have fairly good coverage complete in the next few days and will announce it here. -- I like: Like Like - The likeliest place on the web<http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren
