cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tore Halset <>
Subject Re: Handling database restarts
Date Thu, 25 Sep 2008 13:57:31 GMT

On Sep 25, 2008, at 15:52 , Borut BolĨina wrote:

> if database (MySQL) is restarted, how to handle pooled connections?  
> Can
> Cayenne handle database restarts in some way.

This is up to the connection pooling system. We are deploying our  
cayenne applications inside JBoss and JBoss checks every connection in  
the pool before cayenne uses it for anything. If the connection is  
down, then a new one is created.

  - Tore.
View raw message