RE: How can I customize the driver/url/login

From: Scott Anderson (sanderso..irvana.com)
Date: Thu Apr 03 2008 - 12:18:26 EDT

  • Next message: Andrus Adamchik: "Re: How can I customize the driver/url/login"

    I'm using a custom DataSourceFactory now; if I switch it back to
    DriverDataSourceFactory and set the minimum connections to 2, Derby
    complains about how there can't be two connections, as I'm using the
    EmbeddedDriver.

    -----Original Message-----
    From: Michael Gentry [mailto:blacknex..mail.com]
    Sent: Thursday, April 03, 2008 12:01 PM
    To: use..ayenne.apache.org
    Subject: Re: How can I customize the driver/url/login

    Just for kicks, bump up your minimum DB connections in the modeler and
    see what happens ...

    On Thu, Apr 3, 2008 at 11:37 AM, Scott Anderson <sanderso..irvana.com>
    wrote:
    > While I know enough to briefly describe what a connection pool is, I
    > have no idea how Cayenne uses it, or how it's configured. Could you
    go
    > in to a little more detail? AFAIK, I'm using what ever the default
    > settings are.
    >
    > It seems unlikely to me that it's derby related because when I use
    the
    > modeler to specify the database location, I don't see anything like
    > this. Could it be that the adapter isn't being specified? I noticed
    that
    > Cayenne is warning that it's using the "automatic" one.
    >
    > Apr 3, 2008 11:33:56 AM org.apache.cayenne.conf.RuntimeLoadDelegate
    > initAdapter
    > INFO: no adapter set, using automatic adapter.



    This archive was generated by hypermail 2.0.0 : Thu Apr 03 2008 - 12:19:35 EDT