On Apr 5, 2006, at 3:47 PM, emre.yilma..tr.com.tr 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
This archive was generated by hypermail 2.0.0 : Wed Apr 05 2006 - 08:06:00 EDT