delete new --> transient?

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Wed Nov 25 2009 - 20:33:09 EST

  • Next message: Andrey Razumovsky: "Re: delete new --> transient?"

    Hi there,

    just wondering why when deleting a new object that its status is being set to PeristenceState.TRANSIENT rather than DELETED?

    @see ObjectContextDeleteAction#deleteNew(Persistent)
    It also doesn't turn up in context.deletedObjects

    So this all seems to make it more difficult to determine the state of an object.

    Regardless of the rationale - what's the recommended way of determining if an object is deleted within the context?
    Thanks.

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Wed Nov 25 2009 - 20:33:50 EST