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

    @ManyToMany mapping of an interface...

    Jeffrey Dissmann Newbie

      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