0 Replies Latest reply on Dec 14, 2007 5:25 AM by mars1412

    can seam generate entity mappings in hibernate.cfg.xml?

    mars1412 Apprentice

      when using, seam all my entities are annotated

      in the eclipse ide, to use the hibernate plugin, I need to map all entities in the hibernate.cfg.xml file:

      <mapping class="com.mydomain.web.entity.WebUser"/>
      <mapping class="com.mydomain.web.entity.Category"/>


      i find it quite awkward to enter all classes in this file manually.
      so, does anyone know a way to relieve me of this burden?
      e.g. to let seam create those mappings automatically?