[Lazarus] What is a TSQLTransaction and why do I need one?

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Nov 25 13:44:50 CET 2010

On Thu, 25 Nov 2010, Alexsander Rosa wrote:

> I've ported my OPF from DBExpress to Zeos IFDEF'ing less than 10 lines. As
> DBExpress, Zeos supports a single transaction per connection. My OPF uses a
> single connection with 3 TSQLQuery/TZQuery for different purposes. It's very
> rare to have the actual need of more than one transaction per connection --
> in these cases, it's simpler to create another connection.

The idea for SQLDB's architecture comes from IBX, not DBExpress. 
This explains the difference and your 'difficulties'.


More information about the Lazarus mailing list