connection « Glassfish « JPA Q&A





1. How to set up hibernate to use Glassfish connection pool?    stackoverflow.com

I have set up a connection pool in Glassfish with a jndi resource for it also setup. I am stumped on how to configure hibernate to go get it. I have ...

2. Cannot open connection    stackoverflow.com

If my web application run in glassfish v2 it run correctly but if I deploy the same application in glassfish v3 it throws " org.hibernate.exception.JDBCConnectionException: Cannot open connection " exception please ...

3. Hibernate Connection using C3P0 and Postgresql    stackoverflow.com

I am trying to get an application(jadasite) up and running using postgresql and glassfish. The app designers recommend tomcat and mysql. I can not really use tomcat and mysql for this ...

4. [JPA]how to control connection pool in SE environment    java.net

You can use following properties toplink.max-write-connections - maximum number of write connections used by a TopLink created connection pool in an Application managed entity manager toplink.min-write-connections - minimum number of write connections used by a TopLink created connection pool in an Application managed entity manager toplink.max-read-connections - maximum number of read connections used by a TopLink created connection pool in an ...

5. JPA, connection pools, how?    java.net

8. issue with hibernate connection    java.net

The issue: Every time I use a finder method (hql) during a process that modifies data, I get a StaleObjectStateException (org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)) It happens consistently when the following pattern is executed: 1) modify some data. 2) Use a finder (hql) method 3) modify some more data