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

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

    meneghette

      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 {
      
      
      }