Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 5025 invoked from network); 11 Apr 2009 19:34:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2009 19:34:36 -0000 Received: (qmail 40223 invoked by uid 500); 11 Apr 2009 19:34:35 -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 40212 invoked by uid 99); 11 Apr 2009 19:34:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2009 19:34:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2009 19:34:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 030F1234C053 for ; Sat, 11 Apr 2009 12:34:15 -0700 (PDT) Message-ID: <399691916.1239478455011.JavaMail.jira@brutus> Date: Sat, 11 Apr 2009 12:34:15 -0700 (PDT) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Assigned: (JDO-629) JPA tests have invalid check for @Temporal field value In-Reply-To: <368603819.1239475814947.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Jefferson reassigned JDO-629: ---------------------------------- Assignee: (was: Andy Jefferson) Anyone know where CompletenessTestJPA checks for date fields and how we can swap the check to just check on date (and not time) ? Seems to buried deep within classes. Other option is to remove the @Temporal annotation, or change it to TIMESTAMP. > JPA tests have invalid check for @Temporal field value > ------------------------------------------------------ > > Key: JDO-629 > URL: https://issues.apache.org/jira/browse/JDO-629 > Project: JDO > Issue Type: Bug > Components: tck2 > Affects Versions: JDO 2 maintenance release 2 > Reporter: Andy Jefferson > Fix For: JDO 2 maintenance release 3 > > > The JPA tests > companyAnnotatedAllRelationshipsJPAPM.conf > companyAnnotatedAllRelationshipsJPAConcrete.conf > companyAnnotatedEmbeddedJPAConcrete.conf > companyAnnotatedEmbeddedJPAPM.conf > all have fields annotated with @Temporal(DATE) which means store as java.sql.Date. This will store only the year/month/day components. DataNucleus until recently just stored as a java.util.Date hence storing all details but now obeys the annotation. The check is currently for year/month/day/hour/min/sec yet should be for year/month/day only. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.