Polishing.

Original Pull Request: #4949
This commit is contained in:
Mark Paluch
2025-04-17 12:30:05 +02:00
parent fb3382fac3
commit ed7943a949

View File

@@ -2,11 +2,3 @@ include::{commons}@data-commons::page$repositories/core-concepts.adoc[]
[[mongodb.entity-persistence.state-detection-strategies]]
include::{commons}@data-commons::page$is-new-state-detection.adoc[leveloffset=+1]
[NOTE]
====
Cassandra provides no means to generate identifiers upon inserting data.
As consequence, entities must be associated with identifier values.
Spring Data defaults to identifier inspection to determine whether an entity is new.
If you want to use xref:mongodb/auditing.adoc[auditing] make sure to either use xref:mongodb/template-crud-operations.adoc#mongo-template.optimistic-locking[Optimistic Locking] or implement `Persistable` for proper entity state detection.
====