PowerBuilder 2022 Build 1892, SQL Server 2017
I am connecting with the new MSO driver in a small test app run from the IDE. The purpose of the app is to make sure I have the correct connection properties before I modify the main application.
I ran sp_who to make sure the AppName and Host values are showing. I discovered that when my app does a disconnect, the process continues about a minute before ending. If I exit PowerBuilder IDE, it ends immediately.
Here are my connection properties:
sqlca.DBMS = "MSO"
sqlca.LogId = "######"
sqlca.LogPass = "######"
sqlca.ServerName = "######"
sqlca.DBParm = "Provider='MSOLEDBSQL19',Database='######',AppName='ex_app'," + &
"BindSPInput=1,DisableBind=1,Encrypt=0,Host='######',TrimSpaces=1"
sqlca.AutoCommit = False
Is this a bug or expected behavior? Is there a way to have the process end when disconnect is called?
Just curious ... In your PB App's "Application Object" was the "FREEDBLibraries" property set to ON?
Regards ... Chris