On Apr 5, 2006, at 3:47 PM, [EMAIL PROTECTED] wrote:

Hi,

I create 2 databases. These databases has the same tables and I want to insert and delete actions to them with the same context. Is there any way to create 2
dataNodes attached to one dataContext.

Thank you..


The only way Cayenne can currently resolve conflicting table names is by separating them in two DataDomains. This means you'll have to use two DataContexts in the app:

DataContext c1 = DataContext.createDataContext("domain1");
DataContext c2 = DataContext.createDataContext("domain2");

Andrus

Reply via email to