Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1097

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2, 1.3.0, 2.0.0-M1
    • 1.3.0, 2.0.0-beta3
    • jpa
    • 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

      Attachments

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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            drwoods Donald Woods
            kwsutter Kevin W. Sutter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment