synnefo/delphi-orm

Optimistic concurrency control

Opened this issue · 1 comments

Just a simple question
Have you provided an optimistic concurrency control for object persistence.
Hibernate has it through @Optimistic annotation on a field.
It is basically a date/int field for each table/object in database and gets 
compared/incremented at the end of each transaction commit.

Original issue reported on code.google.com by Sergei.I...@gmail.com on 4 Mar 2015 at 9:11

Yes, there is since the first versions.

Check \samples\DelphiXE7\HelloWorldObjVersion\DORM_HelloWorld_ObjVersion.dproj

Original comment by d.t...@bittime.it on 4 Mar 2015 at 9:59