cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james <i_yon...@yahoo.com.sg>
Subject Re: Re: Multiple Databases and Setting Connection
Date Wed, 07 Jun 2006 00:22:18 GMT
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


Mime
View raw message