Uploaded image for project: 'JBoss WFK 2'
  1. JBoss WFK 2
  2. WFK2-229

Seam UI Example JBDS "JPA Problems"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.0.ER1, 2.4.0.GA, 2.5.0.ER1, 2.6.0.ER1
    • Fix Version/s: 2.7.0.GA
    • Component/s: Seam 2
    • Labels:
    • Environment:

      JBDS 7.1.0.Alpha2, JBDS 7.1.0.GA, JBDS 8.0.0.Beta1

    • Target Release:
    • Steps to Reproduce:
      Hide

      Import the UI Seam example into JBDS.

      Show
      Import the UI Seam example into JBDS.
    • Affects:
      Release Notes
    • Release Notes Docs Status:
      Documented as Known Issue
    • Release Notes Text:
      Hide
      The Seam user interface example throws an error related to the JPA programming interface when imported to Red Hat JBoss Developer Studio. This is because JPA programming interface validation rules wrongly parse @ElementCollection annotation and then it shows errors that are invalid in relation to source code.
      If @ElementCollection is removed all errors disappeared.
      Alternatively, the errors can be safely ignored.
      Show
      The Seam user interface example throws an error related to the JPA programming interface when imported to Red Hat JBoss Developer Studio. This is because JPA programming interface validation rules wrongly parse @ElementCollection annotation and then it shows errors that are invalid in relation to source code. If @ElementCollection is removed all errors disappeared. Alternatively, the errors can be safely ignored.

      Description

      There are several "JPA Problems" reported in JBDS after importing the UI Seam example:

      Description	Resource	Path	Location	Type
      The given name of the entity "org.jboss.seam.example.ui.Country" is empty	Country.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 10	JPA Problem
      Target entity is not defined	Country.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 19	JPA Problem
      The given name of the entity "org.jboss.seam.example.ui.Film" is empty	Film.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 9	JPA Problem
      The attribute type for a collection mapping must be java.util.Collection, java.util.Set, java.util.List or java.util.Map	Continent.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 19	JPA Problem
      Target entity is not defined	Continent.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 19	JPA Problem
      The given name of the entity "org.jboss.seam.example.ui.Continent" is empty	Continent.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 11	JPA Problem
      org.jboss.seam.example.ui.BookPk is not mapped as an embeddable	Book.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 12	JPA Problem
      The given name of the entity "org.jboss.seam.example.ui.Book" is empty	Book.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 8	JPA Problem
      Target entity is not defined	Person.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 94	JPA Problem
      Target entity is not defined	Person.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 84	JPA Problem
      Target entity is not defined	Person.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 81	JPA Problem
      Target entity is not defined	Person.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 78	JPA Problem
      The attribute type for a collection mapping must be java.util.Collection, java.util.Set, java.util.List or java.util.Map	Person.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 78	JPA Problem
      Target entity is not defined	Person.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 67	JPA Problem
      Target entity is not defined	Person.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 70	JPA Problem
      Attribute "name" has invalid mapping type in this context	BookPk.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 11	JPA Problem
      Attribute "author" has invalid mapping type in this context	BookPk.java	/ui-ejb/src/main/java/org/jboss/seam/example/ui	line 13	JPA Problem
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  manaRH Marek Novotny
                  Reporter:
                  maschmid Marek Schmidt
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: