Uploaded image for project: 'OpenOLAT'
  1. OpenOLAT
  2. OO-56

Check equals method of all PersistentObject

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.0
    • Fix Version/s: 8.0
    • Component/s: Database
    • Labels:
      None

      Description

      Check equals method of all PersistentObject for these issues:
      -No hashCode/equals implemented, they are needed by the second level cache
      -Broken equals: example in BusinessGroupImpl where the equals generate a lot of invisible ClassCastException (as an exception is equivalent to several hundreds of lines of code in performance, this is bad)

        Attachments

          Activity

            People

            Assignee:
            srosse Stéphane Rossé
            Reporter:
            srosse Stéphane Rossé
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h