Re: Handling database restarts

From: Tore Halset (halse..vv.ntnu.no)
Date: Thu Sep 25 2008 - 09:57:31 EDT

  • Next message: Michael Gentry: "Re: Handling database restarts"

    Hello.

    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.

    Regards,
      - Tore.



    This archive was generated by hypermail 2.0.0 : Thu Sep 25 2008 - 09:58:21 EDT