Re: Constraint handling messed up?

From: Dirk Olmes (dirk.olme..mx.de)
Date: Fri Feb 07 2003 - 11:37:51 EST

  • Next message: Dirk Olmes: "Re: Postgres adaptor"

    Andriy Shapochka wrote:
    >>>The whole problem arises when the unit tests try to tearDown and remove
    >>>db rows that are still referenced from other tables. Then again, one
    >>>could sit down and rearrange the SQL in the tear down methods
    >>>appropriately. Alternatively one could try and order the setUp/tearDown
    >>>SQL with ashwood ... any takers?
    >>
    >>That's what I was thinking about! I probably won't be able to look at it
    >>right away. Maybe Andriy will have a chance?
    >
    > Sure, I can have a look and try to figure it out. Could you point out the
    > tests in question? I am not very familiar with the Cayenne JUnit tests yet.

    Commenting out the deferable definition for the constraints, tests start
    to fail in DataContextDeleteRulesTst. After that, the connection seems
    to be invalid and all subsequent tests fail.

    -dirk



    This archive was generated by hypermail 2.0.0 : Fri Feb 07 2003 - 11:39:28 EST