Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3159

Cannot prevent generation of persistence method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.1.RELEASE
    • Fix Version/s: 1.2.2.RELEASE
    • Component/s: PERSISTENCE
    • Labels:
      None
    • Environment:
      Window 7, STS 2.9.1

      Description

      According to the end of section 8.2 of the Spring Roo Reference documentation, you should be able to prevent the generation of persistence methods by assigning the empty string as the method name in the @RooJpaActiveRecord annotation. (see Reference Doc)

      However, if I make the following annotation the merge method is still generated. If I use a non-empty string for the method name the generated method is named as I indicated.

      @RooJpaActiveRecord(mergeMethod = "")
      

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            mjparker Michael Parker
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: