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

Finder ITD is deleted if DBRE-managed entity contains static method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: 1.1.4.RELEASE
    • Fix Version/s: 1.1.5.RELEASE
    • Component/s: DYNAMIC FINDERS
    • Labels:
      None

      Description

      Roo is not generating the aspect source with appropriate finder code. Instrument.java @RooEntity annotation is updated with finder, but no aspect file is generated. SEE below.

      ~.core.domain.Instrument roo> finder add --finderName findInstrumentsByDescriptionIsNotNull
      Updated SRC_MAIN_JAVA/com/juan/tradetools/core/domain/Instrument.java
      Updated SRC_MAIN_WEBAPP/WEB-INF/views/menu.jspx
      Updated SRC_MAIN_WEBAPP/WEB-INF/views/instruments/views.xml
      Updated SRC_MAIN_WEBAPP/WEB-INF/i18n/application.properties
      Updated SRC_MAIN_WEBAPP/WEB-INF/views/menu.jspx
      Created SRC_MAIN_WEBAPP/WEB-INF/views/instruments/findInstrumentsByDescriptionIsNotNull.jspx

      ----------------------------

      @RooJavaBean
      @RooToString
      @RooDbManaged(automaticallyDelete = true)
      @RooEntity(table = "INSTRUMENT", schema = "trader", finders =

      { "findInstrumentsByDescriptionIsNotNull" }

      )
      public class Instrument {

      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              jlamadrid Juan Lamadrid
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: