[Lazarus] SQLDB: how to use TSQLTransaction

William Ferreira williamoferreira at outlook.com
Thu Apr 16 13:44:40 CEST 2015



- An option to TSQLTransaction, called stoUseImplicit, which means the implicit transaction handling of the engine will be used.
   (SQLDB then simply doesn't start a transaction)
 
   This has the effect that every statement will then be committed at once.
 
- An option to TSQLQuery called sqoAutoCommit, which will commit each statement at once.
   i.e. it calls SQLTranaction.Commit after each command.






Sorry, I thought that was a mission to TSQLTransaction.Action as it accepts some values like caCommitRetaining or caRollback. So, how does this property works?

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150416/b6b0be3f/attachment-0003.html>


More information about the Lazarus mailing list