Re: Re: Multiple Databases and Setting Connection

From: james (i_yongb..ahoo.com.sg)
Date: Tue Jun 06 2006 - 20:22:18 EDT

  • Next message: Malcolm Edgar: "Click 0.20 is now available"

    Gentry, Michael (Contractor <michael_gentry <at> fanniemae.com> writes:

    >
    > You need to have multiple DataNodes in your model -- one for each
    > database. You also need multiple DataMaps. Each DataMap should contain
    > the schema for one of the databases. Then in the modeler, under the
    > DataMap Configuration section, select the DataNode to associate the map
    > to. Cayenne will then use the right database connection for the objects
    > you are working upon.
    >

    Hi,
       I have different groups of web users. A new database is created for each
    group. Hence I need one DataMap and multiple DataNodes. Can one DataMap be
    assigned to two or more DataNodes?

    Regards,
    James



    This archive was generated by hypermail 2.0.0 : Tue Jun 06 2006 - 20:22:56 EDT