Skip to content

Commit 01a99f4

Browse files
committed
Move documentation bits regarding AbstractAuditable into JPA-specific documentation.
Closes #2284
1 parent 4350dc5 commit 01a99f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/asciidoc/jpa.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -988,9 +988,13 @@ interface UserRepository extends Repository<User, Long> {
988988
====
989989

990990
:leveloffset: +1
991+
991992
include::{spring-data-commons-docs}/auditing.adoc[]
993+
992994
:leveloffset: -1
993995

996+
There is also a convenience base class, `AbstractAuditable`, which you can extend to avoid the need to manually implement the interface methods. Doing so increases the coupling of your domain classes to Spring Data, which might be something you want to avoid. Usually, the annotation-based way of defining auditing metadata is preferred as it is less invasive and more flexible.
997+
994998
[[jpa.auditing]]
995999
== JPA Auditing
9961000

0 commit comments

Comments
 (0)