Hello
In the last jdbc Driver (23a) with kernel 21 there are two things in the
executeBatch methods that don't comply with JDBC tests.
1.- PreparedStatement.executeBatch returns -2 count (Success_No_Info)
for every execution. Although this is in the specifications, the JDBC tests
don't accept this value as correct. In a previous mail in this list Marco
stated that this problem came from kernel restrictions so I suppose it is
dificult to change.
2.- When there is an error in a PreparedStatement.batchUpdate, and so a
batchUpdateException is throwed, batchUpdateException.getUpdateCounts()
returns an int[0] where the correct dimension (the error is in the second
update of three) can be int[1] or int[3].
In the latest test from Sun, there are a change over what I report
previously as an error. The tests that check in
CallableStatement.executeBatch that any procedure with OUT or INOUT
parameters throw an Exception was removed by Sun in the new tests version
(1.3.1).
Regards
Blas Rodriguez Somoza
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general