How can I find the jdbc connection timeout of a hibernate session
- by StevenWilkins
I currently have a long running thread which uses a hibernate session to perform many updates. We currently have our c3p0 connection timeout set to 20 minutes and it's timing out sometimes because of the number of updates we're performing.
The solution I have is to periodically return the connection to the pool via closing the session (we have…