File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Retrieving remaing statements from failed batch
Joined: Jun 09, 2000
Mar 22, 2007 22:58:00
I have been looking into JAVA API of java.sql package
but couldn't find any way where we can retrive the remaing statments of a batch( excluding culprit one which caused batch to fail)
Do any one of you knows anything about it?
Thanks in advance
[ March 22, 2007: Message edited by: Gaurav Chikara ]
SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Joined: Apr 02, 2004
Mar 30, 2007 00:17:00
Won't it be better to rollback the entire transaction if the batch update failed? So you won't need to find out which statements executed successfully and which failed.
SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
I agree. Here's the link:
subject: Retrieving remaing statements from failed batch
how to avoid numberformat Exception
5 letter scrabble
regarding access of another server
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013