Re: Handling database restarts

From: Michael Gentry (blacknex..mail.com)
Date: Thu Sep 25 2008 - 10:05:03 EDT

  • Next message: Chris Murphy: "Insert at a particular position in the detail list"

    If you are using the built-in Cayenne connection pool, it should
    re-connect automatically. Connection pools outside of Cayenne are
    dependent upon whatever they provide. I believe MySQL also allows you
    to specify a re-connection option in the jdbc: string.

    On Thu, Sep 25, 2008 at 9:52 AM, Borut Bolčina <borut.bolcina@gmail.com> wrote:
    > Hello,
    >
    > if database (MySQL) is restarted, how to handle pooled connections? Can
    > Cayenne handle database restarts in some way.
    >
    > Cheers,
    > Borut
    >



    This archive was generated by hypermail 2.0.0 : Thu Sep 25 2008 - 10:05:43 EDT