Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Again, troubles with CursorAdapter
Message
De
15/08/2003 11:39:21
 
 
À
14/08/2003 14:42:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00819734
Message ID:
00820540
Vues:
24
Hi Aleksey


>Logically it is correct. All data reads/writes will be included into the same transaction until SQLCOMMIT()/SQLROLLBACK(). Even if backend doesn't start transaction physically, subsequent SQLCOMMIT()/SQLROLLBACK() do not fail. It is only a plus if back end is able to avoid unnecessary physical transactions.

Sorry to nit-pick, but what you say is correct only if the server is using implicit transactions.

If implicit transactions are disabled (or not supported!), then you will not get a back-end transaction unless you specifically issue a 'BEGIN TRANSACTION' command, no matter how many times you issue SQLSETPROP().

Whilst I understand what you mean it is, at the very least, misleading to state that setting the connection to use manual transactions is equivalent to issuing 'Begin Transaction'.
----
Regards
Andy Kramek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform