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

idEquals() broken in BigDecimalId and BigIntegerId

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.3, 1.1.0, 1.2.1, 1.3.0, 2.0.0
    • 1.3.0, 2.0.0-M3
    • jpa
    • None
    • 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

            drwoods Donald Woods
            dvholten Dieter von Holten
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: