9 Replies Latest reply on Mar 23, 2009 10:52 AM by Adam Warski

    Error on Quickstart Envers 1.2.0

    Jan Ritzenhoff Newbie

      Hi,
      on page http://www.jboss.org/envers/quickstart.html
      the property-values for the Listener are wrong.

      org.hibernate.envers.event.VersionsEventListener doestn exist.

      It should be:

      <property name="hibernate.ejb.event.post-insert" value="org.hibernate.envers.event.AuditEventListener" />
      <property name="hibernate.ejb.event.post-update" value="org.hibernate.envers.event.AuditEventListener" />
      <property name="hibernate.ejb.event.post-delete" value="org.hibernate.envers.event.AuditEventListener" />
      <property name="hibernate.ejb.event.pre-collection-update" value="org.hibernate.envers.event.AuditEventListener" />
      <property name="hibernate.ejb.event.pre-collection-remove" value="org.hibernate.envers.event.AuditEventListener" />
      <property name="hibernate.ejb.event.post-collection-recreate" value="org.hibernate.envers.event.AuditEventListener" />
      

      regards Jan