Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-18686

persistence.xml has an unexpected error marker when created with Forge (CLI)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.2.x, 4.3.x
    • 4.2.0.Final
    • forge, hibernate
    • None

      When using Forge 2.12.1.Final from CLI in JBDS 8.0.0.Final, when setting up JPA using the following command:jpa-setup --dbType MYSQL,
      the persistence.xml file is created but Eclipse (Dali) reports a problem because

      No persistence unit defined in META-INF/persistence.xm

      In fact, there is no such error. Trigger a new validation on the file fixes the problem.

      Note: this problem does not occur with Forge wizards, as kaers@redhat.com reported.

              kaers@redhat.com Koen Aers
              xcoulon@redhat.com Xavier Coulon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: