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

Cannot create a relationship between two entities

    XMLWordPrintable

Details

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

    Description

      I've created a Country entity and then a Customer. When I create a relationship between both, I have an error :

      [Customer.java]$ jpa-new-field --named country --entity org.agoncal.application.petstore.model.Country --relationshipType Many-to-One
      ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
      [Customer.java]$ jpa-setup
      ***ERROR*** No Facet of type [interface org.jboss.forge.addon.javaee.jpa.JPAFacet] is installed.
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: