Hi.
I have a following code (pseudo code)
adapter.StartTransaction(IsolationLevel.Serializable, "GetQueuedTask");
FetchEntityCollection(adapter, collection, filter, null, null, null, 1);
Just before Entity Collection Fetch I need to lock table (i think it's not possible using directly llblgen) by passing the following sql query before fetch:
LOCK TABLE queue.background_tasks_queue IN ROW EXCLUSIVE MODE;
This query should be executed in the transaction. So it'll be :
a) create a transaction
b) lock table
c) fetch entity collection
d) etc.
How can I insert the mentioned query into a transaction ?
Best Regards,
MiloszeS