OpenJPA
  1. OpenJPA
  2. OPENJPA-1000

Consistent usage of serialVersionUID

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M2
    • Fix Version/s: 2.0.0-M3
    • Component/s: query
    • Labels:
      None

      Description

      As reported while working on OPENJPA-878, we have an inconsistent usage of serialVersionUID in the 2.0.0 code.
      There were 2 options discussed, but not decided upon, so the work is being split out of 878 into it's own JIRA.
      1) Remove the new usage of serialVersionUID from classes added in 2.0.0. The attached OPENJPA-878-serialVersionUID.patch handles this option.
      2) Add missing serialVersionUID values for every class that Eclipse flags. BUT, this lead to the discussion of should we use new values or try to use the ones generated for existing released jars (which then leads to which versions of the jars - 1.2.1?)

        Issue Links

          Activity

          Donald Woods created issue -
          Hide
          Donald Woods added a comment -

          Patch to remove all serialVersionUID values that have been added since 1.2.1.

          Show
          Donald Woods added a comment - Patch to remove all serialVersionUID values that have been added since 1.2.1.
          Donald Woods made changes -
          Field Original Value New Value
          Attachment OPENJPA-878-serialVersionUID.patch [ 12403638 ]
          Donald Woods made changes -
          Link This issue is related to OPENJPA-878 [ OPENJPA-878 ]
          Donald Woods made changes -
          Assignee Donald Woods [ drwoods ]
          Donald Woods made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Hide
          Donald Woods added a comment -

          Patch committed as Rev792312

          Show
          Donald Woods added a comment - Patch committed as Rev792312
          Donald Woods made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Fix Version/s 2.0.0 [ 12314019 ]
          Fix Version/s 2.0.0-M2 [ 12313483 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Fix Version/s 2.0.0-M3 [ 12314148 ]
          Fix Version/s 2.0.0 [ 12314019 ]
          Donald Woods made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open In Progress In Progress
          83d 23h 22m 1 Donald Woods 17/Jun/09 21:21
          In Progress In Progress Resolved Resolved
          21d 32m 1 Donald Woods 08/Jul/09 21:53
          Resolved Resolved Closed Closed
          243d 21h 37m 1 Donald Woods 09/Mar/10 18:31

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development