Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1505 Perform a review of Forge 2.CR
  3. FORGE-1506

Cannot create a field on a Mapped Superclass

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Final
    • 2.0.0.CR2
    • UI - Shell
    • None

      I create a Mapped Superclass, try to add a field, and get a Entity must be specified :

      [pluralsight-persistence]$ jpa-new-mapped-superclass --named Person
      Modified /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight/persistence
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight/persistence/module07
      Created  /Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/src/main/java/com/pluralsight/persistence/module07/Person.java
      ***SUCCESS*** Mapped Superclass com.pluralsight.persistence.module07.Person was created
      [Person.java]$ jpa-new-field --named firstname --length 50
      Entity must be specified.
      

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

                Created:
                Updated:
                Resolved: