Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3821

seam-gen - entity is not mapped in war project on AS5

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.1.1.CR2
    • Fix Version/s: 2.1.2.CR1
    • Component/s: Tools
    • Labels:
      None
    • Environment:

      JDK5
      JBoss AS 5.0.0.GA

    • Affects:
      Release Notes

      Description

      When accessing generated entity page the application is failing on "org.hibernate.hql.ast.QuerySyntaxException: Vehicle is not mapped [select vehicle from Vehicle vehicle]" . I am using standard release-process.txt database tables. To reproduce the issue:
      1.) Create new war project and generate entities.
      2.) Log into the application and click PersonList or VehicleList

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dan.j.allen Dan Allen
                  Reporter:
                  jharting Jozef Hartinger
                • Votes:
                  4 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: