-
Robert Schmidl
- PowerBuilder
- Tuesday, 2 December 2025 05:30 AM UTC
We are in the process of moving our users to Microsoft "CloudPCs" while our database servers remain on premises.
Sometimes network and databse connections get terminated after the application or system idles for a while.
This happens often while the user is on break or in a meeting.
If the user then starts using the application again he receives an error and he has to restart the application.
Is there a simple way to silently reconnect to the database without interrupting the application?
Something like connection pools in Java can do. There you can configure a simple statement like "Select 1 from dual".
The connection pool then checks if a connection is still alive before handing it to the application.
We are using PB 2022R3
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.