0 Replies Latest reply on Aug 31, 2005 3:33 AM by jeffreydissmann

    @ManyToMany mapping of an interface...

    jeffreydissmann

      HeHo,

      ist it possible to map some thing like this:

      My Entities:

      Interface human;

      @Entity
      class man implements human;

      @Entity
      class woman implements human;

      class city{
      ....
      @ManyToMany
      public List citizen;
      ....
      }

      TATA:
      org.hibernate.MappingException: Association references unmapped class: human

      what should i do