From ad65da80edc53c54d4da8149a940e3a2f1efa8a3 Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Wed, 11 Jan 2012 15:33:25 +0100 Subject: [PATCH] Adding a note that listeners are no longer needed in 4.x --- documentation/src/main/docbook/devguide/en-US/Envers.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/documentation/src/main/docbook/devguide/en-US/Envers.xml b/documentation/src/main/docbook/devguide/en-US/Envers.xml index 32a3b129ea..3e2b3e9224 100644 --- a/documentation/src/main/docbook/devguide/en-US/Envers.xml +++ b/documentation/src/main/docbook/devguide/en-US/Envers.xml @@ -29,6 +29,14 @@ on the entity. + + + Unlike in previous versions, you no longer need to specify listeners in the Hibernate configuration + file. Just putting the Envers jar on the classpath is enough - listeners will be registered + automatically. + + + And that's all - you can create, modify and delete the entites as always. If you look at the generated schema for your entities, or at the data persisted by Hibernate, you will notice that there are no changes.