reconnect « Database « JPA Q&A





1. hibernate does not reconnect once the database is bounced    stackoverflow.com

I've found that after we've bounced (stopped and started) our database (postgresql 8.3), our apps which use hibernate (3.2.6) fail to re-acquire connections, instead getting a SocketException with the message "broken ...

2. Automatical reconnect after the db restart    forum.hibernate.org

Hi, I have an application (mainline, no appserver) what run permanently. I use Oracle database. Somtimes the database restart under my application, what in this case lost the connection. I can do the reconnection if I take a special execption handling to all of the database operation, but that would be better the Hibernate do it automatically. (The reconnection means I ...

3. Reconnect to Database    forum.hibernate.org

We have Tomcat 4.1, Oracle 9, Hibernate2.0.1 for an application. However, we found the application is dead after the Oracle 9 got restarted or after a few days. Does hibernate and chave the ability to reconnect to the database in such situation ? Any help will be appreciated ? Hibernate version: 2.0.1 hibernate properties flie: hibernate.connection.username=APP hibernate.connection.password=123Test hibernate.connection.url=jdbc:oracle:thin:@testserver.indygov.org:1521:ORAT9 hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver hibernate.dialect=net.sf.hibernate.dialect.Oracle9Dialect hibernate.transaction.factory_class=net.sf.hibernate.transaction.JDBCTransactionFactory ...

4. Auto-Reconnect after database server down ???    forum.hibernate.org

5. Reconnect to the database    forum.hibernate.org

6. reconnect to the database server    forum.hibernate.org

Hi i have a problem with hibernate. I can't find the hibernate property that allows me to reconnect to the database after the connection to the database was lost. I use Hibernate 3.2.4.sp1 with cp30 and MS SQL Server 2005 and my persistence unit looks like: Code: org.hibernate.ejb.HibernatePersistence ...