Uploaded image for project: 'YesCart'
  1. YesCart
  2. YC-191

Remove wildcard from transaction properties on txProxyTemplate

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0, backlog
    • Fix Version/s: None
    • Component/s: sf server
    • Labels:
      None

      Description

      We need to remove the following
      <prop key="*">PROPAGATION_REQUIRED,readOnly</prop>
      from txProxyTemplate as this means that all methods on bean are transactional.

      wild card should be
      <prop key="*">PROPAGATION_NOT_SUPPORTED</prop>
      This will prevent all undeclared method signatures from being transactional.

      Benefits are:
      1. Better control over transactions
      2. Better performance since some method will not create transactions

      This is a small change but will require a lot of testing and review. Potentially we will need to add more signatures to txProxyTemplate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                InspireSoftware InspireSoftware
                Reporter:
                InspireSoftware InspireSoftware
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: