Re: Partial commits or two DCs?

From: Mike Kienenberger (mkienen..mail.com)
Date: Mon Sep 12 2005 - 19:20:33 EDT

  • Next message: Kevin Menard: "Re: Partial commits or two DCs?"

    No. But if you need dependencies between them, then they have to be
    committed at the same time, and may as well be in the same
    DataContext.

    On 9/12/05, Kevin Menard <kmenar..ervprise.com> wrote:
    >
    > On Sep 12, 2005, at 6:07 PM, Mike Kienenberger wrote:
    >
    > > If there aren't any dependencies between the objects, then putting
    > > them in separate DCs isn't a problem. And if there are dependencies
    > > between committable modified objects and uncommittable new objects,
    > > you aren't in a committable state :)
    >
    > Is there way to have dependencies between them but in different
    > DataContexts? Right now, Cayenne does not like me trying to
    > establish a relationship between two objects in different DCs :-/
    >
    > Thanks,
    > Kevin
    >



    This archive was generated by hypermail 2.0.0 : Mon Sep 12 2005 - 19:20:34 EDT