Talk:RDF2Go/Transactions
From semanticweb.org
Starting with the comments living in http://issues.semweb4j.org/browse/RTGO-48
here is an idea for adding transactions in a lightway fashion to RDF2Go:
In Model/ModelSet add
/** @return the Connection object if the Model/ModelSet is backed by a connection. * Null otherwise */ Connection getConnection;
interface Connection
extends ModelSet; // Leo: CONNECTIONS are not just moniker objects, they are the INTERFACE to the functions. hence the connection has to have all methods to manipulate, hence modelset. This follows the standards of JDBC, and also of Sesame.
void commit();
void rollback();
boolean hasChanges();
