database « Tomcat « JPA Q&A





1. hibernate3 + tomcat 4.0.18 + seam2.1 database connection pool    coderanch.com

I am trying to access tomcat database connection pools using hibernate. For some reason, I keep getting the following error: Could someone provide examples of what persistence.xml, hibernate_config.properties, content.xml, web.xml should look like? Also, I am using tomcat standalone(without JBoss) and I am using eclipse-ganymede First, I notice this entry a few lines before the exception is thrown: INFO: JNDI InitialContext ...

2. Tomcat db pooling -- Hibernate is not releasing connections    forum.hibernate.org

Hi all, I am running Tomcat 5.0.28 under windows with Hibernate 2.1.7. I am using the standard ThreadLocal HibernateUtil pattern. When I enable DBCP abandoned session logging under Tomcat I get large numbers of Hibernate sessions that were never closed. Is hibernate not cleaning up after itself properly and returning connections to the pool or is this something my code is ...

3. Database emptied when launching tomcat    forum.hibernate.org

Hi everybdy and sorry for this ask for help but i'm stuck on this. I've generated some classes from an oarcle 10g database using hibernate Tools and try to launch tomcat 5.0 from myeclipse. It's launched but database is emptied (Data is deleted in every table, but tables aren't dropped..) when executing Code: Session session = HibernateUtil.currentSession(); which is Code: public ...