1. Hibernate timeout problem with servlets stackoverflow.comI have a Tomcat servlet that incorporates hibernate. It works fine normally. When the servlet starts I initialize hibernate and create a session factory. I ... |
2. Problem with database timeout using Hibernate coderanch.comHi, I have a problem because my application is idle over the night. The users of it have only interests to use it over a day light. So, when the time between two use (communication) with database is over a 8 hours, the exception is thrown, telling me that 'timeout' should be set longer ( I have not now exception trace, ... |
3. Database Lockwait Timeout in production. Need help instantly forum.hibernate.orgHi, We have created a large order, stock, delivery business system who's core is HIbernate, Struts and MySql. From time to time a lock wait timeout occurs. Sometime daly and sometime weekley. We haven't seen anything special that triggers the behaviour, but when the system get locked it won't help restarting the database. The main application running Hibernate must be restarted ... |
4. How to set an timeout, for the case that no db is present? forum.hibernate.orgHi, in the meantime I developed this workaround with a thread. Code: final Thread t = new Thread() { /* * (non-Javadoc) * * @see java.lang.Thread#run() ... |