Skip to content

Commit ad65da8

Browse files
committed
Adding a note that listeners are no longer needed in 4.x
1 parent bd552fe commit ad65da8

File tree

1 file changed

+8
-0
lines changed
  • documentation/src/main/docbook/devguide/en-US

1 file changed

+8
-0
lines changed

documentation/src/main/docbook/devguide/en-US/Envers.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
on the entity.
3030
</para>
3131

32+
<important>
33+
<para>
34+
Unlike in previous versions, you no longer need to specify listeners in the Hibernate configuration
35+
file. Just putting the Envers jar on the classpath is enough - listeners will be registered
36+
automatically.
37+
</para>
38+
</important>
39+
3240
<para>
3341
And that's all - you can create, modify and delete the entites as always. If you look at the generated
3442
schema for your entities, or at the data persisted by Hibernate, you will notice that there are no changes.

0 commit comments

Comments
 (0)