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

Cannot present nested annotations unless created by this class

    XMLWordPrintable

    Details

      Description

      The roo shell show a bug.
      Cannot present nested annotations unless created by this class.
      Yet my project is ok and can be start.

      This issue is show when I make a database reverse engineer.
      When it want update

      @RooJavaBean
      @RooToString
      @RooJson
      @RooJpaActiveRecord(versionField = "", table = "cmp_connector")
      @RooDbManaged(automaticallyDelete = true)
      public class CmpConnector implements Component<CnfCnnValue> {
      
          @ManyToOne
          @JoinColumn(name = "FK_PARENT", referencedColumnName = "CNN_ID", insertable = true, updatable = true)
          private com.logica.soa.ui.model.database.CmpConnector fkParent;
      
          @Column(name = "NAME", columnDefinition = "VARCHAR", length = 255)
          @NotNull
          @NotBlank
          private String name;
      
          @OneToMany(mappedBy = "fkCnn", cascade = CascadeType.ALL)
          @OrderBy("cnnValId")
          private Set<CnfCnnValue> cnfCnnValues;
      
          /** method are defined */
      }
      

      And the class :

      @RooJavaBean
      @RooToString
      @RooJpaActiveRecord(versionField = "", table = "usr_group")
      @RooDbManaged(automaticallyDelete = true)
      public class UsrGroup {
      
          @Column(name = "NAME", columnDefinition = "VARCHAR", length = 45)
          @NotNull
          @NotEmpty
          private String name;
          
          @ManyToMany(mappedBy = "usrGroups", cascade = CascadeType.REFRESH)
          private Set<UsrUser> usrUsers;
          /** no additional code */
      
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stewarta Alan Stewart
              Reporter:
              deblockt deblock
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: