RDBMS Connection Recovery
When a USoft application detects that an existing database connection has been lost, the current transaction is cleared and an internal rollback takes place. A rollback will also be issued on the database.
USoft detects the connection loss during processing of the Rules Engine. Loss of connection may be caused by:
By default, USoft applications try to reconnect to the database following a connection failure. The user will be aware of the reconnection process if a connection loss interrupted a transaction. The reconnection process may take some time and delay the response on the first request, following a connection failure. If the USoft application is not able to restore the connection, it will display the reason reported by the RDBMS software.
The user can also specify that USoft applications should NOT reconnect to the database. For example, for security reasons.
To switch off automatic connection recovery:
Suppose an RDBMS server disconnects from a client computer when it has been idle for 10 minutes.
When USoft Developer is connected to this server, the server will silently disconnect USoft if the application has not been used for ten minutes. When the user attempts to continue with the application, USoft will automatically try to reconnect to the RDBMS server. The status bar displays "Reconnecting" and the application will show a delayed response.
When the USoft application is not able to restore the connection, it will display the appropriate RDBMS error message.
Database connections can only be recovered if the application is running from flat files, including language files and job files (if applicable).