Revision d73a468e
Added by Andreas Kohlbecker over 8 years ago
src/main/java/org/bgbm/biovel/drf/query/SparqlClient.java | ||
---|---|---|
148 | 148 |
* NOTE: The bulkloader is a faster way to load data into an empty dataset than just using the Jena update operations. |
149 | 149 |
* the bulkloader also requires less memory |
150 | 150 |
* It is accessed through the command line utility tdbloader. |
151 |
* |
|
152 |
* rm /tmp/drf_tnb_store/*; bin/tdbloader2 -l /tmp/drf_tnb_store /tmp/species.rdf |
|
151 | 153 |
* @throws IOException |
152 | 154 |
*/ |
153 | 155 |
private void createStore() throws IOException { |
... | ... | |
215 | 217 |
QueryExecution qe = executionFor(queryString); |
216 | 218 |
Model model = null; |
217 | 219 |
try { |
218 |
model = qe.execDescribe(); |
|
219 | 220 |
if(dataset != null) { |
220 | 221 |
dataset.begin(ReadWrite.READ) ; |
221 | 222 |
} |
223 |
model = qe.execDescribe(); |
|
222 | 224 |
if(dataset== null && logger.isDebugEnabled()) { |
223 | 225 |
model.write(System.err); |
224 | 226 |
} |
Also available in: Unified diff
bugfix: starting transaction before executing describe