Hi Bram, On 07-05-2009 12:51:51 +0200, Bram Van Dam wrote:
When using the MonetDB JDBC driver on JDK6 (or JRE6) > 6.10 you will get IndexOutOfBoundsExceptions when using transactions (possibly in other cases as well). This happens because there is a bug in CharBuffer.subSequence(), which is used in StartOfHeaderParser.java
The following patch remedies this problem, without any regressions as far as I can tell. Recompiling the JDBC driver is all that's required.
Thanks!
You'll still have to compile with the 1.5 option because the JDBC interface changed quite a bit between 5 and 6, but if I have time left I might fix that as well.
Hope this'll help someone.
Do you have any idea what this performance wise does to the driver? (I don't at the moment.)