Re: Cayenne Connection Pooling?

From: Mike Kienenberger (mkienen..mail.com)
Date: Tue Nov 22 2005 - 11:02:46 EST

  • Next message: Andrus Adamchik: "Re: Cayenne Connection Pooling?"

    As part of each database driver, you specify the number of connections
    you want to allow, min and max. You can have as many active database
    connections as you like.

    Cayenne doesn't require the locking that EOEditingContext requires, so
    SharedEditingContext isn't really needed. You can pick any
    arbitrary DataContext to be your SharedEditingContext for storing
    read-only objects.

    I was never an expert on EOF, but I can try to answer some simple
    things. However, my last EOF project was under WO 5.0. I did have
    a lot of struggles with locking and shared editing contexts, and I
    eventually had to write some "patches" to the EOF locking code.

    My favorite thing about Cayenne is that those locking issues are no
    longer applicable.

    On 11/22/05, Dov Rosenberg <dov.rosenber..onviveon.com> wrote:
    > Does cayenne support multiple db connections from a single model? We are
    > running into issues with EOF with its single db connection stack.
    >
    > Is there an equivalent to the EOF SharedEditingContext?
    >
    >
    > --
    > Dov Rosenberg
    > Inquira Inc
    > 370 Centerpointe Circle, ste 1178
    > Altamonte Springs, FL 32701
    > (407) 339-1177 x 102
    > (407) 339-6704 (fax)
    > drosenber..nquira.com
    > AOL IM: dovrosenberg
    >
    >



    This archive was generated by hypermail 2.0.0 : Tue Nov 22 2005 - 11:02:48 EST