Re: ContextCommit refactoring

From: Craig Miskell (cmiskel..lbatross.co.nz)
Date: Wed Mar 05 2003 - 03:12:12 EST

  • Next message: Andriy Shapochka: "Re: ContextCommit refactoring"

    >
    > So I approached this from another end. I turned on SQL debugging of
    > regression test batches, and discovered that there is only one kind of
    > queries that fail: DELETE queries for the rows that reference themselves
    > via an FK (and I think also rows that reference rows that reference
    > themselves). From the RDBMS standpoint, having such row is totally
    > acceptable I guess, though I don't think I ever had them in real life.
    >
    > Ok, so via a wayback machine of CVS, I switched to ContextCommit, r1.11
    > (the one that worked just yesterday) - the same problem.... So I wonder
    > if any changes done in other parts of Cayenne may have affected this?
    >
    > Any insights?
    Might it be something delete rule related? Not that I've touched that
    area since a few weeks back, but it strikes me as the sort of thing which
    might get gnarled up on itself with self-referential rows. Maybe.

    Just a thought,

    Craig



    This archive was generated by hypermail 2.0.0 : Wed Mar 05 2003 - 03:15:51 EST