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

Home -> Community -> Usenet -> c.d.o.tools -> Re: How to find that after "post" there was no "commit"

Re: How to find that after "post" there was no "commit"

From: Stephan Born <stephan.born_at_beusen.de>
Date: Tue, 15 Aug 2000 15:07:18 +0200
Message-ID: <39994086.28724CF3@beusen.de>

> Hi,
>
> I am working with Forms Developer v4.5 and v6.
> Maybe someone know how to find that after "post" there was no "commit"
>
> For ex. pl/sql code :
>
> POST;
> ....
> ....
> ....
> ....
> IF ("there_was_no_commit ???") THEN
> COMMIT_FORM;
> END IF;
>

Try

select decode (count(*), 0, 'no changes', 'changes') from v$transaction;

Regards, Stephan

--
---------------------------------------------------------------
Dipl.-Inf. (FH) Stephan Born   | beusen Solutions GmbH
fon: +49 30 549932-0           | Landsberger Allee 392
fax: +49 30 549932-21          | 12681 Berlin
---------------------------------------------------------------
       PGP-Key verfügbar       |      PGP-Key available
---------------------------------------------------------------
Received on Tue Aug 15 2000 - 08:07:18 CDT

Original text of this message

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