dc1969 / delphi-orm

Automatically exported from code.google.com/p/delphi-orm
0 stars 0 forks source link

Optimistic concurrency control #41

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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