The documentation was updated to refer to the HibernateToolTask, but I'm not sure it generates the audit tables as the now removed EnversHibernateToolTask used to do. Can you confirm? I can't check until I get my project compiling on Hibernate 5, but I doubt it works as there is no reference to envers in HibernateToolTask on github. I would to see some code similar to that in http://alvinalexander.com/java/jwarehouse/hibernate/hibernate-envers/src/main/java/org/hibernate/tool/ant/EnversHibernateToolTask.java.shtml. |