Hi,I'm considering to adopt the Envers mechanism for my application and I want to know what is the road map for this great project.Are the full three inheritance strategies going to be supported?Thanks!!dyahav

I found one thing I don't quite understand. I have a MappedSuperClass, which is subclassed by several entities. The MappedSuperClass has an embeddable object set, defined by @CollectionOfElements and @JoinTable.

After reading the docs and some trial and error, I assume that under the current Envers (preview), that I need to promote the object to and entiry and change the annotations to @OneToMany and @AuditJoinTable.

More info... I converted the embeddable to an entity, and switch to @OneToMany and used @AuditJoinTable, but then I get an exception from Envers...

Caused by: org.hibernate.HibernateException: could not init listeners at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:205) at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1338) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:854) at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) ... 164 moreCaused by: java.lang.NullPointerException at org.hibernate.envers.configuration.metadata.CollectionMetadataGenerator.addValueToMiddleTable(CollectionMetadataGenerator.java:380) at org.hibernate.envers.configuration.metadata.CollectionMetadataGenerator.addWithMiddleTable(CollectionMetadataGenerator.java:303) at org.hibernate.envers.configuration.metadata.CollectionMetadataGenerator.addCollection(CollectionMetadataGenerator.java:152) at org.hibernate.envers.configuration.metadata.AuditMetadataGenerator.addValue(AuditMetadataGenerator.java:136) at org.hibernate.envers.configuration.metadata.AuditMetadataGenerator.addProperties(AuditMetadataGenerator.java:155) at org.hibernate.envers.configuration.metadata.AuditMetadataGenerator.generateSecondPass(AuditMetadataGenerator.java:343) at org.hibernate.envers.configuration.EntitiesConfigurator.configure(EntitiesConfigurator.java:96) at org.hibernate.envers.configuration.AuditConfiguration.(AuditConfiguration.java:86) at org.hibernate.envers.configuration.AuditConfiguration.getFor(AuditConfiguration.java:99) at org.hibernate.envers.event.AuditEventListener.initialize(AuditEventListener.java:232) at org.hibernate.event.EventListeners$1.processListener(EventListeners.java:198) at org.hibernate.event.EventListeners.processListeners(EventListeners.java:181) at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:194) ... 168 more