Re: [Virtuoso-users] Rollback via java

2012-07-12 Thread Alex
Hello again, trying to solve my problem, I attempted to rollback via isql. I checked for autocommit and it was OFF. Rollback did also not work in this case. I executed the following commands: -checkpoint; -the above discussed insertion query (the graph did not exist and was created by this quer

Re: [Virtuoso-users] Rollback via java

2012-07-11 Thread Alex
Hi Hugh, I am not so sure that I understand the whole concept. Could you elaborate a little bit? The documentation says that log_enable(2) disables logging and enables row-by-row autocommit [1]. So since I want a rollback I must have log_enable(3). But with that parameter I also enable autocommi

Re: [Virtuoso-users] Rollback via java

2012-07-08 Thread Hugh Williams
On 8 July 2012 12:55, Jürgen Jakobitsch wrote: > hi, > > did you double check that > stmt.executeQuery(query); > doesn't throw an exception? > > i'd have a try with stmt.executeUpdate > and check the resulting int is gt 0. > if so try a rollback. > >

Re: [Virtuoso-users] Rollback via java

2012-07-08 Thread Alex
exception? > > i'd have a try with stmt.executeUpdate > and check the resulting int is gt 0. > if so try a rollback. > > wkr turnguard > > - Original Message - > From: "Alex" > To: virtuoso-users@lists.sourceforge.net > Sent: Friday, July 6,

Re: [Virtuoso-users] Rollback via java

2012-07-08 Thread Jürgen Jakobitsch
rge.net Sent: Friday, July 6, 2012 6:03:20 PM Subject: [Virtuoso-users] Rollback via java Hi, I am trying to test rollback via the java driver. I insert first the following triple via isql: sparql INSERT INTO < http://mygraph.com > { < http://myopenlink.net/dataspace/Kingsley#this &

[Virtuoso-users] Rollback via java

2012-07-06 Thread Alex
Hi, I am trying to test rollback via the java driver. I insert first the following triple via isql: sparql INSERT INTO { < http://myopenlink.net/dataspace/Kingsley#this> < http://www.w3.org/1999/02/22-rdf-syntax-ns#type> < http://rdfs.org/sioc/ns#User>};