Dear all,

I've started testing version 6.1.4 but I've having the same problems
with transactions when doing a bulk update. Concretely I get the
following exception:

com.hp.hpl.jena.shared.JenaException: Couldn't create
transaction:com.hp.hpl.jena.shared.JenaException: rethrew:
java.sql.BatchUpdateException: SR175: Uniqueness violation : Violating
unique index RDF_QUAD_POGS on table DB.DBA.RDF_QUAD. Transaction
killed.

This is the code I use for the upload:

VirtGraph graph = new VirtGraph (DATA_URI, DB_URL, DB_USER, DB_PASSWD);
...
graph.getTransactionHandler().begin();
graph.getBulkUpdateHandler().add(jenaModel.getModel().getGraph());
graph.getTransactionHandler().commit();
...

It seems to work well at the beginning but as I'm trying to load a
quite big dataset (I'm regenerating the Semantic XBRL dataset) at some
point  it starts throwing this exception for most of the attempts to
load an RDF model.

Best,

Roberto García
http://rhizomik.net/~roberto

Reply via email to