Total members 11890 |It is currently Sat Apr 20, 2024 4:47 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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.




Author:
Proficient
User avatar Posts: 280
Have thanks: 1 time

maybe..you may check your database structure

_________________
Please recommend my post if you found it helpful


Author:
Proficient
User avatar Posts: 228
Have thanks: 0 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : executeBatch() function problem
 mail function problem     -  
 problem, recursive function using array_merge()     -  
 problem, recursive function using array_merge()     -  
 php function     -  
 Function Overloading     -  
 The isset() Function     -  
 srand function example     -  
 function key recognition     -  
 Function Recursion     -  
 Using the array_slice () Function     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com