1 Reply Latest reply on Nov 27, 2009 5:29 AM by Marcos Meneghette

    Another Problem With jboss-envers-1.2.1.GA-hibernate-3.3

    Marcos Meneghette Newbie

      When I Extends DefaultRevisionEntity, the eclipse compiler gives me the following error : The return type is incompatible with DefaultRevisionEntity.getId()

      This is The class:

      package br.com.siq.gqfweb.sistema;
      
      import javax.persistence.Entity;
      
      import org.hibernate.envers.DefaultRevisionEntity;
      import org.hibernate.envers.RevisionEntity;
      
      @Entity
      @RevisionEntity(AuditoriaRevEntityListener.class)
      public class AuditoriaRevEntity extends DefaultRevisionEntity {
      
      
      }