Hibernate Backed Classes should not have immutable collections passed in

XMLWordPrintable

      We have an optimisation in our hibernate-backed Directory and Application code where instead of replacing the attributes, we update the existing collection (using retainAll). This assumes that the collection field is mutable. Since we can't just create a immutable copy of what's passed in setAttributes, we need to ensure that all usages of setAttributes are passing in an immutable copy.

            Assignee:
            James Wong
            Reporter:
            James Wong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2h Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 8.6h
                8.6h