Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 45524 invoked from network); 13 Sep 2006 02:19:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2006 02:19:47 -0000 Received: (qmail 97520 invoked by uid 500); 13 Sep 2006 02:19:47 -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 97509 invoked by uid 99); 13 Sep 2006 02:19:47 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Sep 2006 19:19:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from ([209.237.227.198:58257] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1 r(10620)) with ESMTP id D2/13-06304-1DA67054 for ; Tue, 12 Sep 2006 19:20:01 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 46D86410022 for ; Wed, 13 Sep 2006 02:16:22 +0000 (GMT) Message-ID: <28463157.1158113782266.JavaMail.jira@brutus> Date: Tue, 12 Sep 2006 19:16:22 -0700 (PDT) From: "Marc Prud'hommeaux (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Created: (JDO-424) StateTransitions makes undocumented assertions in detachCopy with active tx MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N StateTransitions makes undocumented assertions in detachCopy with active tx --------------------------------------------------------------------------- Key: JDO-424 URL: http://issues.apache.org/jira/browse/JDO-424 Project: JDO Issue Type: Bug Components: tck20 Affects Versions: JDO 2 final Reporter: Marc Prud'hommeaux In StateTransitions.java, a couple of the transition assertions that are made in the "detachCopy with active tx" scenario are not documented: Element 4 (0-based) asserts that HOLLOW will remain UNCHANGED when detachCopy() is called on them. However, this doesn't seem to be anywhere in the spec, and also doesn't seem right, since a hollow instance would need to instantiate its fields in order to cascade the detach operation (subject to the setting of the DETACH_LOAD_FIELDS setting). Element 9 asserts that a PERSISTENT_NONTRANSACTIONAL instance will remain unchanged. However, for the same reason as above, it might transition to persistent-clean due to reading a field. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira