Oracle Client version 12.2 win x64; DOA 4.1.3; Delphi RIO.
I use a session pool to connect to the DB. There are several (20-30) threads running in the app. Each thread has its own TOracleSession. The connection to the database is not stable. The server may restart. And in these conditions, sometimes when OracleSession.Logon, the thread sometimes freezes. No errors or other messages.
When the connection or server is restored, usually OracleSession.Logon returns some result, but sometimes nothing happens. But if you restart the app, everything works as it should.
What can I do about it?
I use a session pool to connect to the DB. There are several (20-30) threads running in the app. Each thread has its own TOracleSession. The connection to the database is not stable. The server may restart. And in these conditions, sometimes when OracleSession.Logon, the thread sometimes freezes. No errors or other messages.
When the connection or server is restored, usually OracleSession.Logon returns some result, but sometimes nothing happens. But if you restart the app, everything works as it should.
What can I do about it?