OpenJPA
  1. OpenJPA
  2. OPENJPA-636

Clarify impedance mismatch between in-memory objects and their persistent counterparts

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
      None
    • Environment:
      All

      Description

      Date objects persisted out and read back may not have exactly identical values due to differences in the implicit precision of Java date object versus the actual database. The results can be quite frustrating to developers who aren't aware of that fact.

      A discussion of this problem can be found here:

      http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=78&t=004041&p=1

      I think it deserves to be a topic in the user's guide, along with mention of similar imprecise datatypes.

        Activity

        Tim Holloway created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Tim Holloway
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development