"Bhattacharyya, Ana" wrote:

> also I cannot
> do this check in two queries (first check the timestamp and then update) as
> they cannot be made atomic.
> correct me if I am wrong.
>

You use the for update clause when selecting the timestamp value. This will lock
the record.

--Victor

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to