Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What problem with this batch update ?

 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i doing batch update, i facing the problem of insertion, which only save for first table, below is the sample code



again, can i do batch update like this ? anyone mind to guide me what wrong here ? thank in advance for guidance
[ November 14, 2005: Message edited by: Nakata kokuyo ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nakata,
Does the second one work if you remove the unneccessary:
ps = dbCon.prepareStatement(headerSql);
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry, the statement should not be there , anyway, the code actually work , just my db tools limit the result to display out , sorry and thanks Jeanne Boyarsky , very kind of you ....have a nice day
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic