Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. momyyao

    Losing connection to DB

    Correct me if I'm wrong. For my understanding, each hibernate session attempts a connection to the database. When the session is closed, the connection terminates as well. So I only need to make sure a Hibernate session is closed after process. I use MyEclipse which generates sessionFactory...
  2. momyyao

    Losing connection to DB

    I mean every morning when I open the home page, it throws 500 error. And after I restart Tomcat, everything will be fine till the next morning. All connections are managed by Hibernate. And I always close a Hibernate session after each access.
  3. momyyao

    Losing connection to DB

    I have a web site using Hibernate + Struts. It is on company's server with Tomcat + MySQL. Once a day, the application disconnects to the database and throws 500 error to every page since the side bar needs to pull info. from the database. Log only says "Could not execute query". So, every...

Part and Inventory Search

Back
Top