Dear All, I am trying to execute a batch process which calls a procedure for insertion of records into database.My database is Microsoft SQL 7.0 . A Negative Array Size Exception comes while executing the program. I have tried modifying the code but everytime the exception pops up.... Can someone help me with the code. Thanks in advance...... Nivas
does this exception occur if you changed int[] insertCount = stmt.executeBatch(); to just stmt.executeBatch(); ? I'm not sure if the ODBC bridge implements the method properly. Jamie
nivas khan
Greenhorn
Joined: Aug 08, 2001
Posts: 7
posted
0
Hi, Jamie ... I get the same exception when i change int[] insertCount = stmt.executeBatch(); to just stmt.executeBatch(); What Could be the problem... Please Help..
Honestly, I haven't seen an answer to this problem yet. I therefore assume it is a bug in the jdbc-odbc to MSSQL Server drivers. Can you switch drivers to the new Microsoft type 4 drivers?