Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-107321

Reduce stale references in service code from persistence updates

    Details

    • Branch Version/s:
      7.2.x, 7.1.x, 7.0.x
    • Backported to Branch:
      Committed

      Description

      Reduce stale references in service code from persistence updates.

      Update calls should reassign to the model in case the hibernate session has a different model than what is passed in. See https://docs.jboss.org/hibernate/orm/3.5/javadocs/org/hibernate/Session.html#merge(java.lang.Object)

      This can cause squashed updates or single threaded MVCC failures.

        Attachments

          Activity

            People

            Assignee:
            support-qa Support QA
            Reporter:
            preston.crary Preston Crary
            Engineering Assignee:
            SE Support
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                7.0.X
                7.1.X
                7.2.X
                Master