Joined: Sun Oct 19, 2008 3:47 pm Posts: 281 Has thanked: 0 time Have thanks: 1 time
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.
AnswerBot
Question subject: Re: executeBatch() function problem
Posted: Wed Oct 22, 2008 4:55 pm
Joined: Sun Oct 19, 2008 3:53 pm Posts: 229 Has thanked: 0 time Have thanks: 0 time