When SQL Developer is idle I lose my connection

徘徊边缘 提交于 2019-12-03 10:36:07

This extension works for SQL Developer 4:

https://github.com/scristalli/SQL-Developer-4-keepalive

DISCLAIMER: I'm the developer of the extension. I hope the answer is not considered advertising, because this extension is open source (and the previous non-open-source extensions were accepted as an answer).

MinChen Chai has created Keep-Alive Extension exactly for your situation: https://sites.google.com/site/keepaliveext

It will continually send TCP keep-alive packets and prevent server disconnection by inactivity timeout.

When used with the latest SQL Developer Version 4.0.0.13:
- MinChen's extension (http://sites.google.com/site/keepaliveext) doesn't work.
- The keepconnext extension (http://sites.google.com/site/keepconnext) too doesn't work anymore.

On SQL Developer go to Tools > Preferences > Databases > Instances Viewer. and the option traffic duration change it to the max, this worked for me.

Go to Tools > Monitor Sessions... and select your Connection. Set the refresh value to 60 (seconds).

While monitoring, your connection will not be lost.

Oracle SQL Developer Version 4.1.3.20

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!