6 Replies Latest reply on May 6, 2009 5:21 PM by jamesjmp

    PLease give me some help with CRUD in Seam

    sparky.cknoop.hotmail.com

      This is my dev environment:


      JBoss 5.0.1.GA
      Seam 2.1.2.CR1
      Latest Eclipse and JBoss plugin
      Latest MySQL and latest mysql jdbc connector


      I am trying to create a CRUD application and it does not work, this is what I do:


      I created a schema with a few tables
      I create a new seam project and reference the database and schema
      I select file, new, seam generate entities


      I get all the objects and xhtml files but no mappings


      When I run it and I select a webpage that handles a table I get an error:


      QuerySyntaxException: 'table' is not mapped
      (table is simply the name of the mapped table).


      I guess this has to do with the fact that I do not have a mapping file
      but how do I generate a mapping file?