7 Replies Latest reply on Apr 28, 2006 4:33 PM by Raul Piaggio

    Seam CRUDs just from Entities?

    Raul Piaggio Newbie

      I am working with JBoss IDE and have a very basic EJB 3.0 application running.

      I am trying to reverse engineer it to automagically create a Seam CRUD web skeleton using the Hibernate Code Generation tool. Is such a thing possible? (without specifying a database)

      I DID declare the Entity classes in the hibernate.cfg.xml:

      <mapping class="org.Shop.Item"/>

      I should mention that I am able to list the Entities under Configuration in the Hibernate Configuration View. However, when I run Hibernate Code Generation tool, I get the error
      org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="org.Shop.Item"/>
       <No message>

      Thank you in advance,