Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Transaction commit – PB Docs 2022 – PowerBuilder Library

Transaction commit – PB Docs 2022

Transaction commit

If the commit statement is executed after Transaction.autocommit
= true, PowerServer will display the error: Database connection or
transaction is not opened, commit is invalid. To avoid this error, do
not execute commit/rollback after Transaction.autocommit = true; or
set the “TransactionException
property to false in the compiled Web APIs
> AppConfig folder > Applications.json to suppress the error
message.

If the commit statement is executed after the select statement,
PowerServer will display an error indicating that the database
connection failed due to the unknown logic error. To avoid the error,
remove the commit statement after the select statement.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x