ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clinton Begin" <clinton.be...@gmail.com>
Subject Re: iBATIS 2.3 -Handling Concurrent Update
Date Mon, 18 Aug 2008 21:41:14 GMT
You can use pessimistic locking if you want... just with SQL... SELECT FOR
UPDATE....

I wouldn't recommend it, as for most apps optimistic locking is fine.  Use
dates or incrementing version numbers....

What else is there?

clinton

On Mon, Aug 18, 2008 at 3:39 PM, mule_user <sgho@aol.com> wrote:

>
> What are the options for handling concurrent updates in iBATIS 2.3?
> As Clinton Begin's "iBATIS in Action" book specifies using timestamp, or
> version number as a column in database table.
>
> Is any other strategy being introduced in the newer version of iBATIS?
> --
> View this message in context:
> http://www.nabble.com/iBATIS-2.3--Handling-Concurrent-Update-tp19040516p19040516.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Mime
View raw message