how to implement lock in cachedUpdate can i get sample

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
prakashKB
Posts: 3
Joined: Wed 30 Jun 2010 13:13
Location: India
Contact:

how to implement lock in cachedUpdate can i get sample

Post by prakashKB » Wed 30 Jun 2010 13:18

Dear Sir,

how to implement lock in cachedUpdate can i get sample.

how to check unique constrains in Cached updates

Regards
Prakash

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Thu 01 Jul 2010 10:08

Hello

Lock in the cached update mode was added since ODAC 6.90.0.59 version. To lock records you should set the LockMode property to the lmLockImmediate or lmLockDelayed values.

Unique constrains in the cached update mode will be checked on storing records to database (on calling the ApplyUpdates method).

Post Reply