(The following is in relation to the already fixed issue
HHH-10115
.)
I have the following simple test entity...
package org.example.model;
import org.hibernate.envers.Audited;
import javax.persistence.*;
@Entity
public class Test {
@Id @Column public Long id;
@Audited @Column public String name;
}
If I now startup then I get warnings in my log as shown below...
INFO [RMI TCP Connection(2)-127.0.0.1] internal.EnversServiceImpl (EnversServiceImpl.java:91) - Envers integration enabled? : true
DEBUG [RMI TCP Connection(2)-127.0.0.1] metadata.AuditMetadataGenerator (AuditMetadataGenerator.java:594) - Generating first-pass auditing mapping for entity org.example.model.Test
DEBUG [RMI TCP Connection(2)-127.0.0.1] metadata.AuditMetadataGenerator (AuditMetadataGenerator.java:679) - Generating second-pass auditing mapping for entity org.example.model.Test
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:231) - Mapping class: org.example.model.Test_AUD -> Test_AUD
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2590) - Binding component [org.example.model.Test_AUD.originalId]
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2516) - Mapped property: id -> [id]
WARN [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2442) - HHH90000003: Use of DOM4J entity-mode is considered deprecated
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2516) - Mapped property: REV -> [REV]
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2516) - Mapped property: originalId -> [id, REV]
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2516) - Mapped property: REVTYPE -> [REVTYPE]
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2516) - Mapped property: name -> [name]
DEBUG [RMI TCP Connection(2)-127.0.0.1] hbm.ModelBinder (ModelBinder.java:2516) - Mapped property: name_MOD -> [name_MOD]
If I remove the @Audited statement from my test class then I get the following log without any warnings...
INFO [RMI TCP Connection(2)-127.0.0.1] internal.EnversServiceImpl (EnversServiceImpl.java:91) - Envers integration enabled? : true
DEBUG [RMI TCP Connection(2)-127.0.0.1] internal.EnversIntegrator (EnversIntegrator.java:74) - Skipping Envers listener registrations : No audited entities found
|