Grails
  1. Grails
  2. GRAILS-10218

Grails service artifact template puts Transactional annotation before package name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3-RC1
    • Component/s: None
    • Labels:

      Description

      On Grails v2.3.0.M2 the Transactional annotation is before package name.

      Current:

      @grails.transaction.Transactional
      @artifact.package@class @artifact.name@ {
      
          def serviceMethod() {
      
          }
      }
      

      Should be:

      @artifact.package@@grails.transaction.Transactional
      class @artifact.name@ {
      
          def serviceMethod() {
      
          }
      }
      

      https://github.com/grails/grails-core/commit/d7413b35185ccc38deabcf3158b2bf43450e97cb

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Burt Beckwith
            Reporter:
            Alidad
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development