From jdo-dev-return-8000-apmail-db-jdo-dev-archive=www.apache.org@db.apache.org Sat Apr 11 18:50:36 2009 Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 99418 invoked from network); 11 Apr 2009 18:50:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2009 18:50:36 -0000 Received: (qmail 22819 invoked by uid 500); 11 Apr 2009 18:50:36 -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 22809 invoked by uid 99); 11 Apr 2009 18:50: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 18:50: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 18:50:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E77E5234C053 for ; Sat, 11 Apr 2009 11:50:14 -0700 (PDT) Message-ID: <368603819.1239475814947.JavaMail.jira@brutus> Date: Sat, 11 Apr 2009 11:50:14 -0700 (PDT) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Created: (JDO-629) JPA tests have invalid check for @Temporal field value 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 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 Assignee: 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.