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

          Hide
          Donald Woods added a comment -

          Patch committed as Rev792312

          Show
          Donald Woods added a comment - Patch committed as Rev792312
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development