Hello,
I've got a Problem with binaries/mySQL/mm.mysql-JDBC-Driver.
I try to insert a binary (e.g. a file) into MySQL using the
setBinaryStream(...) method of the PreparedStatement of
mm.mysql-JDBC-Drivers. It works fine when I try it with a binary of 20 KB,
but the following exception occurs, when I try it with a binary of 70 KB (or
above):
_____
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at org.gjt.mm.mysql.Buffer.writeBytesNoNull(Buffer.java:310)
at
org.gjt.mm.mysql.PreparedStatement.executeUpdate(PreparedStatement.java:291)
[...]
_____
Has anybody tried this or has anybody a solution for this ?
Thanks !
Bye bye
P.S. I tried V2.02 and V1.2c of the JDBC-Driver