Details

      Description

      Description
      The CounterFinderImpl class makes use of a session.get method which has been deprecated since 6.1. The method ultimately calls Hibernate's session.get(Class, Serializable, LockMode) method, which according to the JavaDoc, is deprecated and should be replaced with a call to session.get(Class, Serializable, LockOptions) instead.

      Because we are using this deprecated method, we are allowing for the possibility of a deadlock when Hibernate tries to retrieve a lock. By utilizing LockOptions, we can set a timeout when retrieving the lock, which will prevent such a deadlock from causing the portal to hang.

      Steps to Reproduce
      N/A

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 4 weeks, 2 days ago