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

idEquals() broken in BigDecimalId and BigIntegerId

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.3, 1.1.0, 1.2.1, 1.3.0, 2.0.0
    • Fix Version/s: 1.3.0, 2.0.0-M3
    • Component/s: jpa
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      in openjpa/util/BigDecimalId and open/util/BigIntegerId the idEquals-methods compare their own keys to the other object, not to others.key.
      That would always result in false - which is false sometimes

        Attachments

        1. BrokenEqualsId.patch
          1 kB
          dieter von holten

          Activity

            People

            • Assignee:
              drwoods Donald Woods
              Reporter:
              dvholten dieter von holten
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: