I am developing an application with spring and hibernate entityManager
The oracle database is outside the DMZ.
the connection will be interrupted after a period of inactivity by the firewall.
I added the ValidationQuery select 1 from dual in context.xml but it does not solve the problem.
In your datasource try to add the below. testWhileIdle