Problem with transactions

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
saidus
Posts: 78
Joined: Wed 26 Oct 2005 09:54
Location: Algeria

Problem with transactions

Post by saidus » Tue 09 Jan 2007 07:16

Hello !!!
How can use the transactions with MyDAC....
is the TMyQuery Support the StartTransaction methode or not...
if not ...
How can i do this... of corse using INNODB
Please can you help me giving me an exemple ...
Thanks for all

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 09 Jan 2007 07:34

You can control transactions by the TMyConnection component. Please see the Transactions demo of MyDAC for example. You can find this demo in %MyDAC%\Demos\Transactions\ directory.
%MyDAC% is the MyDAC installation path on your computer.

Post Reply