I have a multi-thredded application and would like to take full control of transactions.
This is the scenario.
Thread 1: Start Transaction, execute a set of SQL commands, Commit transaction
Thread 2: Start Transaction, execute another set of SQL commands, Commit Transaction
I am sharing the same TMSConnection component. When thread 2 is running, executing "commit transaction" will commit for both threads.
Is there a way of assigning SQL statements to a specific Transaction?
I have experience with Interbase/Firebird where SQL components have a property linking it to a specific transaction component.
Thanks
Salim
Explicit transaction control
-
- Posts: 11
- Joined: Mon 30 Nov 2009 09:12
- Location: Lebanon
-
- Posts: 11
- Joined: Mon 30 Nov 2009 09:12
- Location: Lebanon