JDBC Statement.executeBatch mysteriously and intermittently fails on good SQL statements
hi everyone,
i'm in middle of adding support our product sql 2005. has been pretty simple except 1 thing jdbc statement.executebatch mysteriously failing. changed my error handling such whenever part of batch fails (execute_failed) query gets re-run. well, everytime re-run failed statment in new new statement object using statement.execute works! another characteristic of failure no matter if batch running 1 or 10 updates in batch, fail execute_failed , when re-run individually each succeed. there no exception thrown.
has run this?
netmon,
we have fixed 2 batch related bugs, first 1 looks similar issue problem describing. possible test scenario our newly released june community tech preview?
for of issues resolved on drop take @ release.txt change list ships package, highlighting batching issues here:
428197 batch execution of prepared statements works correctly when there more
1 item in batch.
433394 calling statement.executebatch after setting blob value no longer throws
sqlexception message "the conversion blob binary unsupported."
SQL Server > SQL Server Data Access
Comments
Post a Comment