Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2464

Cannot use '~' in the type parameter of a jpa-new-field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.19.1.Final
    • 2.19.0.Final
    • Java EE
    • None

      In the following script I can create an enum in the package .model using the '' symbol, but in the jpa-new-field I can't. It throws an exception :

      java-new-enum --named UserRole --targetPackage ~.model ;
      java-new-enum-const USER ;
      java-new-enum-const ADMIN ;
      
      jpa-new-entity --named User ;
      jpa-new-field --named UserRole --type ~.model.UserRole ;
      

              rhn-support-ggastald George Gastaldi
              agoncal Antonio Goncalves (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: