Re: Commiting changes

From: Ian Jamieson (iajamieso..mail.com)
Date: Mon Aug 04 2008 - 23:08:54 EDT

  • Next message: Dirk Wellmann: "hsqldb and Relationships"

    Thanks for that

    The the phrase "nested context" helped me find this page which explained it
    well.
    http://cayenne.apache.org/doc/nested-datacontexts.html

    That gives me more options to think about.

    On Tue, Aug 5, 2008 at 10:28 AM, Aristedes Maniatis <ar..sh.com.au> wrote:

    >
    > On 05/08/2008, at 11:58 AM, Ian Jamieson wrote:
    >
    > Is there a way to commit just a specific set of changes, without commiting
    >> all the changes in the context?
    >>
    >> Should I create separate DataContext instances if I want to do this?
    >>
    >
    > Yes, you should be creating separate contexts for this purpose. If you are
    > not using ROP, you can also look at nested contexts which can help here.
    >
    > Ari Maniatis
    >
    >
    >
    > -------------------------->
    > ish
    > http://www.ish.com.au
    > Level 1, 30 Wilson Street Newtown 2042 Australia
    > phone +61 2 9550 5001 fax +61 2 9550 4001
    > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Aug 04 2008 - 23:09:32 EDT