Move documentation bits regarding AbstractAuditable into JPA-specific documentation.
Closes #2284
This commit is contained in:
@@ -988,9 +988,13 @@ interface UserRepository extends Repository<User, Long> {
|
||||
====
|
||||
|
||||
:leveloffset: +1
|
||||
|
||||
include::{spring-data-commons-docs}/auditing.adoc[]
|
||||
|
||||
:leveloffset: -1
|
||||
|
||||
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.
|
||||
|
||||
[[jpa.auditing]]
|
||||
== JPA Auditing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user