OpenJPA
  1. OpenJPA
  2. OPENJPA-1097

Detachment processing of our proxied mutable types (Date, Timestamp, etc) needs to be consistent

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.2, 1.3.0, 2.0.0-M1
    • Fix Version/s: 1.3.0, 2.0.0-beta3
    • Component/s: jpa
    • Labels:
      None

      Description

      Per the discussion on our forums [1], there seems to some consistent issues with how we perform detachment processing of the mutable types such as Date, Timestamp, etc. There seems to be a couple of issues (at least)...

      o Detachment processing is not consistent between the detach() method and the clear() method.
      o Tracking of changes on a detached entity, but still allow it to be serialized without requiring the openjpa jar file.

      [1] http://n2.nabble.com/Date-Problem-td2943310.html#a2943310

      1. OPENJPA-1097.1-trunk.patch
        11 kB
        Donald Woods
      2. OPENJPA-1097.2-trunk.patch
        4 kB
        Donald Woods
      3. OPENJPA-1097.patch
        3 kB
        Rick Curtis
      4. OPENJPA-1097-12x-tests.diff
        29 kB
        Donald Woods
      5. OPENJPA-1097-tests.diff
        11 kB
        Donald Woods
      6. OPENJPA-1097-trunk.diff
        18 kB
        Donald Woods
      7. Proxies.java
        7 kB
        Donald Woods

        Issue Links

          Activity

            People

            • Assignee:
              Donald Woods
              Reporter:
              Kevin Sutter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development