Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inserts using addBatch() and executeBatch()

 
Donna Reschke
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been using the stmt.addBatch() and stmt.executeBatch() statements to do multiple inserts in a table. We've recently converted our driver from Eda to DB2 and done upgrades to DB2. Since then, the stmt.addBatch() and stmt.executeBatch()statements are not working and give me Null Pointer Exceptions. Does anyone know anything about this or do you know how to get around it? I'd appreciate any input. Thanks
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for re-registering, Donna. We really do appreciate it.
Anyway, this is much more likely to get an answer in the JDBC forum, which is all about database access, so I've moved it for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic