Re: Optimistic locking with ora_rowscn

From: Tony Sequeira <tony_at_sequeira.org.uk>
Date: Wed, 17 Feb 2010 11:53:30 +0000
Message-ID: <4B7BD8BA.1090505_at_sequeira.org.uk>



David Ballester wrote:
>
>
> 2010/2/17 Tony Sequeira <tony_at_sequeira.org.uk
> <mailto:tony_at_sequeira.org.uk>>
>
> Hi,
>
> I'm involved with the development of a web based application,
> which will update tables in an 11gR2 database.
>
> The proposal is to use a timestamp column which will be checked
> prior to an update.
>
> I believe that using ora_rowscn is a "better" way to do this.
>
> I would like to recommend that we use it instead.
>
> Anyone use it? Any gotchas?
>
>
>
>
> Historical data?
>
> What's about a backup/restore, reset logs... database new
> incarnations, etc?
>
>
> D.

Hi David,

Surely this doesn't matter, as it's a pseudo column that won't be used until the client makes an update?

However, I may be missing something, care to elucidate.

Regards.

-- 
S. Anthony Sequeira
++
Double *sigh*.  _04 is going onto thousands of CDs even as we speak,
so to speak.
		-- Larry Wall in <199710221718.KAA24299_at_wall.org>
++


--
http://www.freelists.org/webpage/oracle-l
Received on Wed Feb 17 2010 - 05:53:30 CST

Original text of this message