Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

executeBatch() function problem

Wed Oct 22, 2008 4:54 pm

I'll be executing multiple insert sql quarry and I'm using executeBatch of
PreparedStatement. But I'm having some problem when I get errors during the
execution (e.g. UNIQUE CONSTRAINT). The process stops on that point. What I
want to happen is to continue the process even I encountered errors. Please
help me! Thanks!

suppose there are 10 batch associated with a sql . and exception occours @
7th record then what happen to 1-6 record.



Re: executeBatch() function problem

Wed Oct 22, 2008 4:55 pm

maybe..you may check your database structure

Post a reply
  Related Posts  to : executeBatch() function problem
 mail function problem     -  
 problem, recursive function using array_merge()     -  
 problem, recursive function using array_merge()     -  
 php function     -  
 finalize() function     -  
 Function Overloading     -  
 The isset() Function     -  
 srand function example     -  
 function key recognition     -  
 Function Recursion     -