Automatically reconnect sessions. #88657
Unanswered
rjbmc
asked this question in
Programming Help
Replies: 1 comment
-
n a Hibernate and C3P0 configuration without Spring, you can set certain properties to handle the automatic reconnection of sessions in case they have been closed due to inactivity. To achieve this, you'll need to configure the hibernate.c3p0.* properties in your persistence.xml. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
I’m using Hibernate + C3P0 reading an Oracle database in a Tomcat 9 environment.
Is it possible to automatically reconnect sessions when they have been closed due to inactive timeout?.
What parameters should be set to persistence.xml?
I've read about this point but only in Spring framework, whitout Spring I have'nt found nothing.
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions