No commit on GPFTag(s): Common problems

When a transaction disconnects due to severe errors, theit is 'normal' ODBC-Powerbuilder behaviour is to commit the current transaction.

With PB6 (or better), the following DbParm parameter is available. To specify to rollback when you disconnect from the database :

SQLCA.DBParm = "CommitOnDisconnect = 'No'"



If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2012
[ home ]