Re: commitchanges doesn't work?

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sat Jun 04 2005 - 16:28:54 EDT

  • Next message: Koen Segers: "Re: commitchanges doesn't work?"

    Hi, you may simply set "delete rule" to "Nullify" in the Modeler:

    http://objectstyle.org/cayenne/modelerguide/modeling-object-layer/
    delete-rules.html

    This will ensure that an object is removed from relationship on
    deletion.

    Andrus

    On Jun 4, 2005, at 4:23 PM, Koen Segers wrote:
    > Hi,
    >
    > I want to delete an object.
    > It is deleted from the database, but a container list (from a
    > relationship
    > with the deleted object) isn't updated. Must I explicitly remove
    > the deleted
    > object also from this list?
    >
    > Greetz
    > --
    >
    > Koen Segers
    >
    > <koenseger..carlet.be>
    > <http://eddyvite.dyndns.org>
    >
    >



    This archive was generated by hypermail 2.0.0 : Sat Jun 04 2005 - 16:28:56 EDT