• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdbc driver behaviour

 
jacq carballo
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all!
Database: SQL Server 7.0
method used: java.sql.Statement.executeBatch()
When one of the commands executed has an error (SQLException), the executeBatch command stops at the last executed record. Is there an API whose executeBatch() method simply reports the error and continues with the rest of the unexecuted batch commands?
I know that the executeBatch() method behaves according to the driver as stated in the javadocs. Just want to know if there is another API that would do a batch update on all records, except the one with an error.
TIA
jacq carballo
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic