src/main/java/org/vivoweb/harvester/util/repo/JenaConnect.java
/**
	 * Executes a sparql update query against the JENA model
	 * @param queryString the query to execute against the model
	 * @param datasetMode execute against dataset
	 * @throws IOException error connecting
	 */
Executes a sparql update query against the JENA model
@param queryString the query to execute against the model
@param datasetMode execute against dataset
@throws IOException error connecting
Executes a sparql update query against the JENA model @param queryString the query to execute against the model @param datasetMode execute against dataset @throws IOException error connecting
public void executeUpdateQuery(String queryString, boolean datasetMode) throws IOException {
		this.jenaModel.begin();
		this.jenaModel.notifyEvent(GraphEvents.startRead);
		try {
			if(datasetMode) {
				UpdateAction.execute(UpdateFactory.create(queryString), getDataset());
			} else {
				UpdateAction.execute(UpdateFactory.create(queryString), getJenaModel());
			}
		} finally {
			this.jenaModel.notifyEvent(GraphEvents.finishRead);
			this.jenaModel.commit();
		}
	}
public void executeUpdateQuery ( String queryString , boolean datasetMode ) throws IOException { this . jenaModel . begin ( ) ; this . jenaModel . notifyEvent ( GraphEvents . startRead ) ; try { if ( datasetMode ) { UpdateAction . execute ( UpdateFactory . create ( queryString ) , getDataset ( ) ) ; } else { UpdateAction . execute ( UpdateFactory . create ( queryString ) , getJenaModel ( ) ) ; } } finally { this . jenaModel . notifyEvent ( GraphEvents . finishRead ) ; this . jenaModel . commit ( ) ; } }
Executes a sparql update query against the JENA model
 @param queryString the query to execute against the model
 @param datasetMode execute against dataset
 @throws IOException error connecting
Executes a sparql update query against the JENA model @param queryString the query to execute against the model @param datasetMode execute against dataset @throws IOException error connecting
//			log.debug("query:\n" + queryString); //				log.trace("Executing query against dataset"); //				log.trace("Executing query against model");