db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Created: (JDO-629) JPA tests have invalid check for @Temporal field value
Date Sat, 11 Apr 2009 18:50:14 GMT
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.


Mime
View raw message