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

DynamicDataSourceTransactionInterceptor should be made aware of the new TransactionalPortalCache

    Details

    • Branch Version/s:
      6.0.x, 5.2.x, 5.1.x
    • Backported to Branch:
      Committed
    • Liferay Contributor's Agreement:
      Accept

      Description

      LPS-12945 was recently resolved. It makes sure that changes to cached data get rolled back when a database transaction is rolled back.

      com.liferay.portal.spring.transaction.TransactionInterceptor was altered to ensure this behaviour

      However when you use servicebuilder from the sdk, a file called dynamic-data-source-spring.xml is created and referenced in service.properties, that overrides the portal's TransactionInterceptor with an instance of DynamicDataSourceTransactionInterceptor.

      DynamicDataSourceTransactionInterceptor should be altered to incorportate the same changes that where made to TransactionInterceptor

        Attachments

          Activity

            People

            Assignee:
            shuyang.zhou Shuyang Zhou
            Reporter:
            jelmer Jelmer Kuperus (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              9 years, 31 weeks, 6 days ago

                Packages

                Version Package
                --Sprint - SP
                6.1.0 CE RC1