Re: JPA/Hibernate persistence and MySQL connection timeout

2008-12-30 Thread Frank Castellucci
n the query and hibernate.cfg.xml properties, you have given > so that we can know little more better the error. > wishes, >Prasad DTR > > > - Original Message > From: Kees de Kooter > To: Tomcat Users List > Sent: Monday, 29 December, 2008 20:50:05 > Subject: Re: J

Re: JPA/Hibernate persistence and MySQL connection timeout

2008-12-30 Thread tarakarajendra prasad
Subject: Re: JPA/Hibernate persistence and MySQL connection timeout Hi Ken, Take a look at this page: http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html As you can see the datasource is obtained using JNDI: java:/DefaultDS Cheers, Kees de Kooter http

Re: JPA/Hibernate persistence and MySQL connection timeout

2008-12-29 Thread Kees de Kooter
Hi Ken, Take a look at this page: http://www.hibernate.org/hib_docs/entitymanager/reference/en/html/configuration.html As you can see the datasource is obtained using JNDI: java:/DefaultDS Cheers, Kees de Kooter http://www.boplicity.net On Mon, Dec 29, 2008 at 14:41, Ken Bowen wrote: > Kees,

Re: JPA/Hibernate persistence and MySQL connection timeout

2008-12-29 Thread Ken Bowen
Kees, Can you point me to a discussion of how to do that? Thanks, Ken On Dec 29, 2008, at 3:42 AM, Kees de Kooter wrote: Why don't u use the existing datasources for JPA (instead of setting the hibernate.connection properties)? Kees On Mon, Dec 29, 2008 at 00:50, Ken Bowen wrote: Hi All,

Re: JPA/Hibernate persistence and MySQL connection timeout

2008-12-29 Thread Kees de Kooter
Why don't u use the existing datasources for JPA (instead of setting the hibernate.connection properties)? Kees On Mon, Dec 29, 2008 at 00:50, Ken Bowen wrote: > Hi All, > > I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2; (no > spring) > > MyApp utilizes five (5) distinct mys

JPA/Hibernate persistence and MySQL connection timeout

2008-12-28 Thread Ken Bowen
Hi All, I'm using: Tomcat 6.0.18; Mysql 5.0.51a; Java 1.5; Hibernate 3.2; (no spring) MyApp utilizes five (5) distinct mysql catalogs (databases). Originally all 5 were accessed using JDBC/JNDI with Resources that all look like this (in webapps/MyApp/META-INF): type="javax.sql.DataSource