Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 19782 invoked from network); 26 Nov 2009 01:33:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 01:33:46 -0000 Received: (qmail 76598 invoked by uid 500); 26 Nov 2009 01:33:46 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 76556 invoked by uid 500); 26 Nov 2009 01:33:45 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 76546 invoked by uid 99); 26 Nov 2009 01:33:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 01:33:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lachlan.deck@gmail.com designates 209.85.210.202 as permitted sender) Received: from [209.85.210.202] (HELO mail-yx0-f202.google.com) (209.85.210.202) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 01:33:35 +0000 Received: by yxe40 with SMTP id 40so304327yxe.28 for ; Wed, 25 Nov 2009 17:33:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=aNQUv4tGwQUzWIZdhfXWRSBSBHrjFrkcVYbih7IFEUk=; b=nRiPgB2GPXxGbsLLfNSz88FRsn1s1bdEDMv0wNgh2t252hEcjkW5ouIW3rc6FBV680 Lzk8wdmER+A+OGohOJOELUBkPBAOE9FilztWJGinjq+ulOqrgabbj/wzY+V07Y9YO5FC TLSR1wuVD4+72KKkudNdufzXCm39gj/iGNVPU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=ggiw10Dr2u4vGCc2jrK2I2So5R1kYhr+diLDbhKp+3JrzpSLr/fF1+21llS3lpjCoe 1cIoF5Gs3thJjcHk7YcpUWohAVFqtP7+pO98BPzgG8hkTtjhmNjK0JIuy0fYOqLxrRfF 52Zo/B2cWaLv7/2OnyZNVJA+qdbTBGgCtnYcI= Received: by 10.150.63.16 with SMTP id l16mr14923760yba.12.1259199194742; Wed, 25 Nov 2009 17:33:14 -0800 (PST) Received: from ip-144.ish.com.au (ip-144.ish.com.au [203.29.62.144]) by mx.google.com with ESMTPS id 4sm87937ywg.58.2009.11.25.17.33.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 25 Nov 2009 17:33:14 -0800 (PST) From: Lachlan Deck Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: delete new --> transient? Date: Thu, 26 Nov 2009 12:33:09 +1100 Message-Id: To: user@cayenne.apache.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org 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