12 Replies Latest reply on Nov 21, 2007 12:55 PM by maxandersen

    JBoss tools - Seam generate entities from existing entities

    mortena

      I've evaluated and tested the JBoss tools generate entities from existing entities and it turns out that the entities are overwritten by hbm2java instead of being used as they are. This undermines the usage of this tool to get a running seam application from a set of EJB3 entities:

      * It removes all inheritance information in the entities
      * It removes all documentation etc. in the entities

      So:

      * Why are the entities overwritten instead of being used as they are?
      * Can this be configured so that the entities are used as they are?

      In an iterative (real life) situation extra properties would be added to existing entities over time. If the Seam generate entities are run several times some information would be thrown away due to this procedure.