Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 80707 invoked from network); 5 Aug 2007 05:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Aug 2007 05:48:25 -0000 Received: (qmail 76090 invoked by uid 500); 5 Aug 2007 05:48:24 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 76079 invoked by uid 99); 5 Aug 2007 05:48:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 04 Aug 2007 22:48:24 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.159.14.214] (HELO ptb-relay03.plus.net) (212.159.14.214) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Aug 2007 05:48:16 +0000 Received: from [87.112.69.203] (helo=[192.168.0.22]) by ptb-relay03.plus.net with esmtp (Exim) id 1IHYy2-0004rM-S0; Sun, 05 Aug 2007 06:47:54 +0100 From: Andy Jefferson To: jdo-dev@db.apache.org Subject: Re: JDO 2.1 specification draft can be reviewed... Date: Sun, 5 Aug 2007 06:47:54 +0100 User-Agent: KMail/1.9.6 Cc: JDO Expert Group References: <1186267189.15813.ezmlm@db.apache.org> In-Reply-To: Organization: JPOX MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200708050647.54220.andy@jpox.org> X-Virus-Checked: Checked by ClamAV on apache.org Hi, > I'd like to see others' reaction to this proposal as well. > > String getObjectState(Object pc) I clearly think it's a good idea since that's why JPOX has it ;-) Anything that adds more information to the user domain and more clearly=20 defines the object states is a good thing. I agree with the principle of making the return an enum (for the "api21" ja= r -=20 obviously can't be like that in the legacy jar since that has to support=20 1.3+). The only issue is that HOLLOW and P_NONTRANS have the same=20 combinations of the various "isPersistent", "isTransactional", etc fields a= nd=20 that is why the JPOX method outputs "hollow / persistent-nontransactional" =2D-=20 Andy =A0(Java Persistent Objects - http://www.jpox.org)