RE: 数据库自动重连-Automatic database reconnection

Jamie Sammons, modified 1 Year ago. New Member Post: 1 Join Date: 11/6/20 Recent Posts

当oracle断开连接时,然后oracle数据库是否可以再次自动重新连接,何时重新连接,以及如何设置配置
​​​​​​​when oracle Disconnect ,then oracle database Is it possible to  Automatic reconnection again and when or times ,and how to set config it

7.1
thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

That should either be in the Oracle Database Driver documentation, or you can set up a DataSource (e.g. in Tomcat). I believe that it has some clearly documented features around this as well. It would both be outside of native Liferay though, and just touch its configuration (e.g. either the database URL or the whole datasource)