Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3784

IDE detects when a @Tx method calls other @Tx method within the same class

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.5.0.RELEASE
    • Fix Version/s: 3.8.4.RELEASE
    • Component/s: EDITING, SUPPORT
    • Labels:
      None
    • Environment:
      Any version… for development cycle.

      Description

      Read the following link
      http://stackoverflow.com/questions/3423972/spring-transaction-method-call-by-the-method-within-the-same-class-does-not-wo

      "Spring @Transaction method call by the method within the same class, does not work?"

      It is a classic problem due the Proxy limitation or behaviour..according with my understanding, the problem only arises in runtime, not before through compilation or with warning message.

      If the IDE for the development cycle can arise a warning when the developer calls a method from other method from the same class working with @Transactional or <tx:advice would be fantastic.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dr_pompeii Manuel Jordan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: