I get this exception with jtds-1.2.2 and jtds-1.2.1 with SQL Server 2000.
jtds-1.2 doesn't have this problem.
Caused by: java.lang.ArrayIndexOutOfBoundsException: 7
at net.sourceforge.jtds.jdbc.JtdsStatement.executeBatch(JtdsStatement.java:935)
at com.mchange.v2.c3p0.impl.NewProxyStatement.executeBatch(NewProxyStatement.java:743)
... 4 more
It is caused by following code:
statement =...