Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: PL/SQL: How release row lock w/o COMMIT?

Re: PL/SQL: How release row lock w/o COMMIT?

From: Tobias Besch <me_at_privacy.net>
Date: 7 Mar 2004 12:24:22 GMT
Message-ID: <Xns94A5882E9CD11tobiasbeschgmxde@ID-86573.user.dfncis.de>


Brian Peasland <dba_at_remove_spam.peasland.com> wrote in news:404A0D05.355A0E24_at_remove_spam.peasland.com:

> A ROLLBACK will release the lock as well.

But I want to keep the changes the trored procedure made.

> that transaction. Knowing that, have you considered making your
> stored proc an AUTONOMOUS TRANSACTION? That way, the transaction
> inside the stored proc is not tied to the transaction that
> called it.

That sounds like a good solution.
How do I make proc1 an AUTONOMOUS TRANSACTION?

Tobias Received on Sun Mar 07 2004 - 06:24:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US