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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.5.0.RELEASE
    • 3.8.4.RELEASE
    • EDITING, SUPPORT
    • None
    • 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

            Unassigned Unassigned
            dr_pompeii Manuel Jordan
            Archiver:
            tmarshall Trevor Marshall

            Dates

              Created:
              Updated:
              Resolved:
              Archived: