Re: Using multiple factories

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Nov 01 2005 - 15:17:12 EST

  • Next message: Kim Limbrick: "RE: Using multiple factories"

    Kim,

    Could you possibly send your cayenne.xml file and post some sample
    code on how you obtain a DataContext in your app. Otherwise it is
    hard to tell what goes wrong here.

    Andrus

    P.S. this message is probably more on topic for cayenne-user list..

    On Nov 1, 2005, at 8:39 PM, Kim Limbrick wrote:

    > I am trying to setup two domains each with their own data source
    > factory. One domain uses my own data source factory which extends
    > DriverDataSourceFactory and the other uses DriverDataSourceFactory.
    > It appears that all requests for a data context ends up using my
    > factory regardless of what domain is specified. Is there any trick
    > to getting multiple factories to work?
    >
    > -- Kim Limbrick
    >



    This archive was generated by hypermail 2.0.0 : Tue Nov 01 2005 - 15:17:18 EST