Site Menu
- Home
- Products
- NexusDB
- Nexus Quality Suite
- NexusDB Drivers & Connectors
- Nexus Remoting
- Nexus Memory Manager
- Some of our Customers
- Testimonials and use(r)s
- Downloads
- Documentation
- Support
- Pricing & Orders
- About
- Community
- My Nexus
- Recently Updated ...
- Search...
- Site Login
Search
How to handle locking errors?
Pessimistic locking:
Table.Edit; // locks the record, no other client will be able to make
conflicting changes
try
// set field values
Table.Post;
except
Table.Cancel;
raise;
end;
Optimistic locking:
repeat
Table.Edit; // just gets the current record version from the server
without placing a lock
try
// set field values
Table.Post;
break; // exit the repeat loop, record posted successfully
except
on E: EnxDatabaseError do begin
Table.Cancel;
case E.ErrorCode of
DBIERR_OPTRECLOCKFAILED:
{ conflicting change... retry };
DBIERR_OPTRECLOCKRECDEL: begin
{ record has been deleted... }
raise;
end;
else
raise;
end;
end;
else
Table.Cancel;
raise;
end;
until False;
Questions? Problems?
- Interested to buy but something put you off?
- Can't find what you're looking for?
- Have a suggestion?
Let us know. If you're having trouble contacting us, please check here.
7x | SLA - Silver (add years in quantity field) | AUD 6,300.00 |
1x | NexusDB AWE DLL (1 installation; binary) | AUD 330.00 |
1x | The Full Monty Pack | AUD 1,800.00 |
1x | NexusDB Professional Edition | AUD 1,400.00 |
2x | Memory Manager V4 | AUD 702.00 |
7x | SLA - Gold (add years in quantity field) | AUD 15,400.00 |
2x | Visual Studio Standard Pack | AUD 975.00 |
2x | NexusDB AWE DLL (site license; binary) | AUD 4,600.00 |
1x | Nexus Quality Suite v1 | AUD 550.00 |
4x | SLA - Platinum (add years in quantity field) | AUD 16,000.00 |
1x | NexusDB Embedded Source | AUD 430.00 |
1x | NexusDB Server License Plugin | AUD 250.00 |
1x | NexusDB Starter Edition DCU | AUD 150.00 |
1x | NexusDB AWE DLL (10 installations; binary) | AUD 1,950.00 |
1x | NexusDB AWE DLL (40 installations; binary) | AUD 6,400.00 |
33 Items | Total: AUD 57,237.00 |
(View cart) (Checkout) |
Site Updates
- Dec 4 2024 - 1:53pm
- Dec 4 2024 - 1:48pm
- Nov 19 2024 - 1:04pm
- Oct 17 2024 - 10:27am
- Jul 24 2024 - 1:22pm