db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Hackett <mhac...@randomsample.org>
Subject Halting an ij script
Date Thu, 09 Mar 2006 06:34:56 GMT
Is it possible to halt a script being run by ij on an error? I've been searching for an answer
and the closest I came was a post last June that suggested "setting autocommit off" around
the SQL and "let the transaction logic take care of things". But I don't get how to stop the
commit statement that I expect I'll need at the end of the script from being executed, since
ij seems to just keep on going when it hits an error.

Is there way to halt the script and rollback on any error?

-- Michael

View raw message