User transaction is already in progress

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
djb
Posts: 8
Joined: Fri 24 Mar 2006 23:26

User transaction is already in progress

Post by djb » Sun 28 Jan 2007 16:18

Is it possible to nest transactions using the same connection?

When I do the following, I get the 'User transaction is already in progress' on the second call to StartTransaction():

Connection.StartTransaction
Query1.Execute;
Connection.StartTransaction
Query2.Execute;
...

Thanks.

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Tue 30 Jan 2007 13:06

OLE DB Providers that are used by SDAC do not support nested transactions.

Post Reply