Re: DataContext.clearFlattenedUpdateQueries vs. ContextCommit

From: Holger Hoffstätte (holge..izards.de)
Date: Sun Mar 16 2003 - 06:04:51 EST

  • Next message: Craig Miskell: "Re: DataContext.clearFlattenedUpdateQueries vs. ContextCommit"

    Craig Miskell wrote:
    > (snippety-snip)
    > Of course, when a commit on a Datacontext fails, things tend to be all
    > over the place and out of sync (well, my expectation is that something is
    > seriously wrong, and there's little chance of successfully recovering the
    > DataContext and it's modifications), so it may be a moot point. However,
    > in the interests of future debugging (and perhaps some more interesting
    > ways of cleaning up from a failure?? urgh, could get really messy), I'd
    > suggest they not be cleared.

    What about revert(), then? Shouldn't that put the DC back into a defined
    state? (maybe it does but I couldn't find it calling clearFlattened()).

    Holger



    This archive was generated by hypermail 2.0.0 : Sun Mar 16 2003 - 06:08:54 EST