Re: Multiple Databases and Setting Connection

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Jun 06 2006 - 13:45:13 EDT

  • Next message: james: "Re: Multiple Databases and Setting Connection"

    I'd say the answer is yes to the question #2 as well, as long as the
    custom pool manager is a javax.sql.DataSource implementation or can
    be wrapped in one.

    Andrus

    On Jun 6, 2006, at 9:30 PM, Gentry, Michael ((Contractor)) wrote:

    > 1) Yes.
    > 2) I'm not certain. Is their any reason you can't use the current
    > pool
    > manager?
    >
    > /dev/mrg
    >
    >
    > -----Original Message-----
    > From: yongbl [mailto:i_yongb..ahoo.com.sg]
    > Sent: Tuesday, June 06, 2006 1:25 PM
    > To: cayenne-use..ncubator.apache.org
    > Subject: Multiple Databases and Setting Connection
    >
    >
    > Hi,
    >
    > I am looking forward to adopt Cayenne, but I need some questions
    > answered.
    >
    > 1) In my servlet, I wanted to update to multiple databases in a
    > single
    > thread. Is this possible with Cayenne?
    >
    > 2) I am managing my own pool manager in the web application. For
    > every
    > request, can I dynamically set the connection to be used by Cayenne?
    >
    > Regards,
    > James
    >
    > Send instant messages to your online friends
    > http://asia.messenger.yahoo.com
    >



    This archive was generated by hypermail 2.0.0 : Tue Jun 06 2006 - 13:45:40 EDT