I have a db table being used to cache pre-calculated data. My code wants to be able to "extract" (i.e. select and delete) a row so that no two competing threads/processes can extract the same row. The existing code performs an entity fetch followed by an entity delete within a transaction, but this doesn't seem to guarantee lock out reads of the same from other threads, and it sometimes ends up with the same value having been extracted twice. Any idea why, or how to implement a pattern like this in LLBLGEN?
LLBLGEN PRO 2.6
Adapter Model
Thanks