Diman
Admin
 Admin
| Posts: 1460 |  | Karma: 18 |
|
Re:How do i use transaction?
|
|
Posted: 2007/05/21 17:44 |
|
|
|
|
Hello
1) Currently ThinDAC servers are stateless. So, you cannot start transaction from client, execute commands from client and then finish transaction. As result, there is no explicit transaction control methods at client side.
2) When you call TTDClientDataSet.ApplyUpdates, then all cached updates will be posted to DB in single transaction.
3) You always can develop own remote function, using RTC SDK. And in this function, perform multiple commands with explicit transaction control. Then just call this function from your client application.
Regards, Dmitry
|
|