use of org.apache.jena.graph.TransactionHandler in project jena by apache.
the class TestSpecials method sink_graph_txn_2.
@Test
public void sink_graph_txn_2() {
DatasetGraph dsg = DatasetGraphSink.create();
Graph g = dsg.getDefaultGraph();
TransactionHandler h = g.getTransactionHandler();
h.begin();
h.abort();
}
use of org.apache.jena.graph.TransactionHandler in project jena by apache.
the class TestSpecials method zero_graph_txn_4.
@Test(expected = JenaException.class)
public void zero_graph_txn_4() {
DatasetGraph dsg = DatasetGraphZero.create();
Graph g = dsg.getDefaultGraph();
TransactionHandler h = g.getTransactionHandler();
h.begin();
h.commit();
h.abort();
}
use of org.apache.jena.graph.TransactionHandler in project jena by apache.
the class TestSpecials method sink_graph_txn_4.
@Test(expected = JenaException.class)
public void sink_graph_txn_4() {
DatasetGraph dsg = DatasetGraphSink.create();
Graph g = dsg.getDefaultGraph();
TransactionHandler h = g.getTransactionHandler();
h.begin();
h.commit();
h.abort();
}
use of org.apache.jena.graph.TransactionHandler in project jena by apache.
the class TestSpecials method zero_graph_txn_2.
@Test
public void zero_graph_txn_2() {
DatasetGraph dsg = DatasetGraphZero.create();
Graph g = dsg.getDefaultGraph();
TransactionHandler h = g.getTransactionHandler();
h.begin();
h.abort();
}
use of org.apache.jena.graph.TransactionHandler in project jena by apache.
the class TestSpecials method sink_graph_txn_5.
@Test(expected = JenaException.class)
public void sink_graph_txn_5() {
DatasetGraph dsg = DatasetGraphSink.create();
Graph g = dsg.getDefaultGraph();
TransactionHandler h = g.getTransactionHandler();
h.commit();
}
Aggregations