| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Nested Transaction Level
Hi!
Could you solve it in the same way for both cases if you always commit at the procedure/function level that is earliest?
This means that none of these two functions commit's or rollback's, that is entierly handled by the calling-logic.
e.g Call SP_AAA from calling-logic:
SAVEPOINT savepoint1;
SP_AAA;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN ROLLBACK TO savepoint1;
END;
e.g call SP_BBB from calling logic:
SAVEPOINT savepoint1;
SP_BBB;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN ROLLBACK TO savepoint1;
END;
You probably have to remove the EXEPCTION handlig as you have suggestet it
in
Frank Received on Mon Mar 12 2001 - 09:58:22 CST
![]() |
![]() |