Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-1491 Perform a review of Forge 2.x
  3. FORGE-1450

Cannot create an enum attribute on an Entity

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Done
    • 2.0.0.CR2
    • 2.5.0.Final
    • UI - Shell
    • None

    Description

      I've created a Language enum (with java-new-enum) and then I want my entity Book to have an attribute of type Language. In Forge 1.x I would do :

      field custom --named language --type org.javaone.javaee7.model.Language.java ;
      

      There is no such custom attribute in Forge 2.x and the following doesn't work :

      jpa-new-field --named language --typeName org.javaone.javaee7.model.Language.java ;
      

      Attachments

        Activity

          People

            robert@balent.cz Robert Balent (Inactive)
            agoncal Antonio Goncalves (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: