Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 1061 invoked from network); 31 Mar 2007 07:58:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Mar 2007 07:58:46 -0000 Received: (qmail 87291 invoked by uid 500); 31 Mar 2007 07:58:53 -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 87280 invoked by uid 99); 31 Mar 2007 07:58:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Mar 2007 00:58:53 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 31 Mar 2007 00:58:45 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3A871714063 for ; Sat, 31 Mar 2007 00:58:25 -0700 (PDT) Message-ID: <13827706.1175327905195.JavaMail.jira@brutus> Date: Sat, 31 Mar 2007 00:58:25 -0700 (PDT) From: "Erik Bengtson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-390) JPOX fails new test: change to projected Date field is reflected in the database In-Reply-To: <5274779.1151126369821.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485709 ] Erik Bengtson commented on JDO-390: ----------------------------------- The test checks whether a SCO field is transient. SCO wrapper instances should not be returned, but instead the java.util.Date. > JPOX fails new test: change to projected Date field is reflected in the database > -------------------------------------------------------------------------------- > > Key: JDO-390 > URL: https://issues.apache.org/jira/browse/JDO-390 > Project: JDO > Issue Type: Bug > Components: tck2 > Affects Versions: JDO 2 maintenance release 1 > Reporter: Michelle Caisse > Assigned To: Andy Jefferson > Fix For: JDO 2 maintenance release 1 > > > Changes to a projected SCO should not be persisted to the data store. JPOX persists changes to a projected Date field in the new query.result.ProjectedSCODoesNotTrackChanges test. > > [java] 1) testDateField(org.apache.jdo.tck.query.result.ProjectedSCODoesNotTrackChanges)junit.framework.AssertionFailedError: > [java] Expected Company instance not to be dirty; actual state is {persistent, transactional, dirty} > [java] Expected projected field value is Fri Jun 23 21:53:29 PDT 2006; actual value is Wed Dec 31 16:02:03 PST 1969 > [java] > [java] at org.apache.jdo.tck.JDO_Test.failOnError(JDO_Test.java:1052) > [java] at org.apache.jdo.tck.query.result.ProjectedSCODoesNotTrackChanges.testDateField(ProjectedSCODoesNotTrackChanges.java:150) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet > hodAccessorImpl.java:25) > [java] at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:237) > [java] at org.apache.jdo.tck.util.BatchTestRunner.doRun(BatchTestRunner.java:107) > [java] at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:147) > [java] at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:122) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.