jetty « Connection « JPA Q&A





1. C3p0 connection pooling for jpa in persistence.xml not working?    stackoverflow.com

I'm still getting JDBC timeouts after trying to configure c3p0 following all of the examples I could find. I'm using JPA, Hibernate, Tomcat, MySQL [AWS RDS]. Here's the snippet from persistence.xml:

<property ...

2. Jetty Data Source, Hibernate, datasource not found    stackoverflow.com

I'm attempting to configure a data source in Jetty 7.4. I was able to do this successfully with my webapp in a Tomcat context.xml. Here's what I have in the jetty.xml ...

3. Hibernate not releasing mysql connection on Jetty    forum.hibernate.org

Newbie Joined: Mon Jul 31, 2006 2:41 pm Posts: 13 I'm using hibernate with struts, on Jetty6, with Mysql 4.1.7. For some reason, even though I'm calling session.flush(), session.close() in my logic after any SQL or HSQL, hibernate does not seem to be releasing the connection. After 10 or so queries, this is what my linux box looks like when I ...