cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james <>
Subject Re: Re: Multiple Databases and Setting Connection
Date Wed, 07 Jun 2006 00:22:18 GMT
Gentry, Michael (Contractor <michael_gentry <at>> 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.

   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? 


View raw message