How to set the Auto-Reconnect Property with Java using JDBC for MS SQL-Server 2012

淺唱寂寞╮ 提交于 2020-01-25 21:25:29

问题


Is there any JDBC connection property to auto reconnect to SQL Server 2012 using JDBC Driver for SQL Server. I didn't find any. Please let me know if there is a better way to reconnect to the database, in case connection is lost.

来源:https://stackoverflow.com/questions/42416198/how-to-set-the-auto-reconnect-property-with-java-using-jdbc-for-ms-sql-server-20

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