views:

297

answers:

0

I'm trying to perform transaction-like behavior with MonetDB and its JDBC driver.

I tried first to set autocommit to false for the connection, I then get the following error on commit :

java.lang.IndexOutOfBoundsException
    at java.nio.StringCharBuffer.subSequence(StringCharBuffer.java:92)
    at nl.cwi.monetdb.mcl.parser.StartOfHeaderParser.getNextAsString(StartOfHeaderParser.java:130)
    at nl.cwi.monetdb.jdbc.MonetConnection$ResponseList.executeQuery(MonetConnection.java:1927)
    at nl.cwi.monetdb.jdbc.MonetConnection$ResponseList.processQuery(MonetConnection.java:1808)
    at nl.cwi.monetdb.jdbc.MonetConnection.commit(MonetConnection.java:347)

I then tried to set autocommit to true and call

START TRANSACTION; ... COMMIT;

but this doesn't seem to work either. Any idea/experience about that?