2 Replies Latest reply on Sep 8, 2005 2:42 PM by Venu Narla

    MultiTable Mappings for EJB3 Entity Beans (more than 2 table

    Venu Narla Newbie

      JBoss EJB3.0 tutorial mentions multitable mapping capability.

      It is my understanding that an EntityBean with embeddable objects that can be mapped to the same table the entitybean is mapped to. Also using "@SecondaryTable" annotation the fields of an EntityBean or an embedded object fields can be mapped to a secondary table.

      However how can we map an Entitybean be mapped to more than 2 tables joined together?

      Is it possible? The MultitableMappings chapter in the jboss ejb3 tutorial does not explicitly mention a limitation of 2 tables for multitable mappings.

      Any pointers are appreciated.