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: autocommit ON but no commits visible in v$sqlarea

Re: autocommit ON but no commits visible in v$sqlarea

From: Tim X <timx_at_spamto.devnul.com>
Date: 08 Jan 2003 01:36:47 +1100
Message-ID: <87heclvxfk.fsf@tiger.rapttech.com.au>


hansdegit_at_hotmail.com (Hans de Git) writes:

> I'm actually trying to understand what exactly is happening in the OCI
> application and in the database when a statement is executed in
> autocommit mode.
>
> Same thing using SQL+. If I first issue a 'set autocommit on'
> statement and then insert some_value into some_table, the response
> from sql+ is 'Commit completed'. However, the commit statement is not
> visible (that's why I called it a 'low level commit'). I'm not trying
> to accomplish anything, I just don't understand the autocommit
> mechanism.
>

What about if you then log out of the sqlplus session - do the records appear then? I seem to remember seeing something which indicated in auto commit mode, the commit happens when you exit the session for sqlplus. Not sure about this, so try it and see.

Tim

-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!
Received on Tue Jan 07 2003 - 08:36:47 CST

Original text of this message

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