> Hi,
>
[quoted text clipped - 3 lines]
> fully succeed or completely fail, commit or rollback in other words. Is that
> easy to do? I'm pretty new at this.
Yes, easy. Set autoCommit(false) on the connection (so any subsequent work
needs to be committed). Then do batch. Check return array or whatever else
you need to do to verify whether everything went OK. If it did, call commit()
on the connection, else call rollback().
Joe Weinstein at BEA
> Thanks,
> John
John Harrison - 30 Sep 2004 19:05 GMT
> > Hi,
> >
[quoted text clipped - 8 lines]
> you need to do to verify whether everything went OK. If it did, call commit()
> on the connection, else call rollback().
OK thanks, amazingly enough that was what I was doing already.
john