4 Replies Latest reply on Mar 9, 2007 3:08 PM by Chuck Adams

    Using EntityHome with multiple Entities

    Sergio Ontiveros Newbie

      Greetings,

      I've been using the EntityHome from the Seam Framework, but have stumbled upon the issue of having to deal with two unrelated entities simultaneously in the same CRUD actions. Almost like if we could use EntityHome<E1,E2>

      Initial thoughts were to wrap the two Entity Beans under one Pojo (not an Entity), and pass that to EntityHome, would that be an approach to follow? is there another way of reusing CRUD functionality from the EntityHome and apply it to multiple entities?
      I'm comfortable extending the Framework, any pointers in that direction could be helpful as well.

      Thanks

      Sergio Ontiveros