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] Resolved: (JDO-629) JPA tests have invalid check for @Temporal field value
Date Sat, 11 Apr 2009 19:46:14 GMT

     [ https://issues.apache.org/jira/browse/JDO-629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andy Jefferson resolved JDO-629.

    Resolution: Fixed
      Assignee: Andy Jefferson

Changed @Temporalr to use TIMESTAMP so then we can still check on the full date/time

> 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.

View raw message