JDO
  1. JDO
  2. JDO-629

JPA tests have invalid check for @Temporal field value

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JDO 2 maintenance release 2 (2.2)
    • Fix Version/s: JDO 3 (3.0)
    • Component/s: tck
    • Labels:
      None

      Description

      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Andy Jefferson
            Reporter:
            Andy Jefferson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development