Page 1 of 1

Posted: Thu 07 Aug 2008 14:52
by esasse
Could you please explain a little bit these changes?

Ability to autoclose
Since it's an "ability", do I have to enable it somewhere?

COMMIT and ROLLBACK in TSQLQuery
How can we use this?

Thanks.

Posted: Fri 08 Aug 2008 06:57
by Plash
1. You don't need to enable autoclosing of transactions. It is always enabled.

2. You can assign 'COMMIT' or 'ROLLBACK' to the SQL property of TSQLQuery component and call the ExecSQL method. It works the same as when you call Commit or Rollback methods of TSQLConnection. This feature is added for compatibility with the Borland driver.

Posted: Fri 08 Aug 2008 11:48
by esasse
Thanks!