Automatic reconnect from Hibernate to MySQL database

It is okay if you are in development phase. When deploy project using hibernate and mysql to server, you may get an error throw: Detailed To resolve this problem, you just set property autoReconnect = true MySQL Connection URL You can set value in the connection URL in parameters: Hibernate Configuration File Add the following […]

Read More