Total members 10261 | Gratitudes |It is currently Wed May 23, 2012 8:19 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 2 posts ] 
Author Question
 Question subject: executeBatch() function problem
PostPosted: Wed Oct 22, 2008 4:54 pm 
Offline
Proficient
User avatar

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.


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: executeBatch() function problem
PostPosted: Wed Oct 22, 2008 4:55 pm 
Offline
Proficient
User avatar

Joined: Sun Oct 19, 2008 3:53 pm
Posts: 229
Has thanked: 0 time
Have thanks: 0 time
maybe..you may check your database structure


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 2 posts ] 
Quick reply


  

 Similar topics
 JavaScript fade out problem
 problem with JcheckBox method
 client server problem
 problem
 Matlab SVM training problem
 I have a serious virus/trojan problem, anyone pls?
 i have problem
 Windows problem!!!
 Problem with skymiles_red
 Question problem

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: Exabot [Bot] and 8 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team