DB2V.10.1RDF数据删除

DB2V.10.1RDF数据删除,db2,rdf,sparql,jena,Db2,Rdf,Sparql,Jena,有人试图从DB2RDF简单存储(Windows)中删除数据(三元组)吗?(插入工程罚款) SPARQL删除statament: DELETE { ?document ?property ?value} WHERE{ ?document <http://example.com#begin> ?begin . FILTER(?begin > 200) ?document ?property ?value } db2diag.log: RETCODE : ZRC=0x87120

有人试图从DB2RDF简单存储(Windows)中删除数据(三元组)吗?(插入工程罚款)

SPARQL删除statament:

DELETE { ?document ?property ?value} WHERE{ ?document <http://example.com#begin> 
?begin . 
FILTER(?begin > 200) ?document ?property ?value }
db2diag.log:

RETCODE : ZRC=0x87120007=-2028863481=SQLR_SEVERE_PGM_ERROR
"Severe programming error"
DIA8516C A severe internal processing error has occurred.
我的Java代码:

String queryString = "delete ...";
Dataset ds = RdfStoreFactory.connectDataset(storeP, conn);
GraphStore graphStore = GraphStoreFactory.create(ds) ;
UpdateAction.parseExecute(queryString, graphStore); // exception

 //UpdateAction.parseExecute("DROP ALL", graphStore); // works fine

谢谢

通过添加

    prop.setProperty("enableExtendedIndicators", "2");

连接到DB2连接。

@gmivsv出于兴趣为什么需要这样做?您是如何发现的?将此添加到您的答案中可以让其他具有相同/类似问题的人在未来更轻松地解决他们的问题我不知道为什么这是必要的,但它是有效的。我尝试了来自的工作示例,并与我的代码进行了比较。有一个缺陷已经在相应的IBM团队中打开。马里奥
    prop.setProperty("enableExtendedIndicators", "2");