Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Nested Transaction Level
Hi!
When you perform a commit; or rollback; all outstanding transaction in you
current session
are handled, regardless of which procedure/function-stack level you are in.
So; yes the commit in SP_BBB will commit everyting since the last
commit/rollback (including rollback to savepoints) in the session
(also if that was "outside" SP_AAA"), and your savepoint will be lost.
If you wish these to procedures to have a transaction-context each, perhaps
you should look at
Autonomus Transactions in Oracle 8(?)/8i.
Otherwise, you can remove the commit in SP_BBB because it will be commit'ed
in SP_AAA anyway.
Frank Received on Thu Mar 08 2001 - 13:16:52 CST
![]() |
![]() |